{"action":"created","issue":{"url":"https://api.github.com/repos/angularjs-oauth/oauth-ng/issues/112","labels_url":"https://api.github.com/repos/angularjs-oauth/oauth-ng/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/angularjs-oauth/oauth-ng/issues/112/comments","events_url":"https://api.github.com/repos/angularjs-oauth/oauth-ng/issues/112/events","html_url":"https://github.com/angularjs-oauth/oauth-ng/issues/112","id":125000972,"number":112,"title":"Adding support for OpenID Connect Implicit Flow breaks my OAuth2 implicit flow client transaction","user":{"login":"patfrat","id":116576,"avatar_url":"https://avatars.githubusercontent.com/u/116576?v=3","gravatar_id":"","url":"https://api.github.com/users/patfrat","html_url":"https://github.com/patfrat","followers_url":"https://api.github.com/users/patfrat/followers","following_url":"https://api.github.com/users/patfrat/following{/other_user}","gists_url":"https://api.github.com/users/patfrat/gists{/gist_id}","starred_url":"https://api.github.com/users/patfrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patfrat/subscriptions","organizations_url":"https://api.github.com/users/patfrat/orgs","repos_url":"https://api.github.com/users/patfrat/repos","events_url":"https://api.github.com/users/patfrat/events{/privacy}","received_events_url":"https://api.github.com/users/patfrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-01-05T16:31:16Z","updated_at":"2016-01-06T13:45:52Z","closed_at":null,"body":"Hello,\r\n\r\nSince you update with the support of OpenID Connect implicit flow, my client app configured to work with OAuth2 implicit flow and a MitreID OpenID Connect Server does not work anymore and throws me this error : No public key found to verify signature\r\n\r\nMy openID server send me access_token and id_token !\r\nUsing previous version 0.4.2 was working with OAuth2 implicit flow !\r\n\r\nI am trying now to see how can i reconfigure my client and/or my server to work together again !\r\nI have no issuer, subject and pub-key options to add yet to my client configuration !\r\n\r\nIs it a mitreID issue or a misconfiguration !\r\n\r\nThanks in advance !\r\n"},"comment":{"url":"https://api.github.com/repos/angularjs-oauth/oauth-ng/issues/comments/169326250","html_url":"https://github.com/angularjs-oauth/oauth-ng/issues/112#issuecomment-169326250","issue_url":"https://api.github.com/repos/angularjs-oauth/oauth-ng/issues/112","id":169326250,"user":{"login":"patfrat","id":116576,"avatar_url":"https://avatars.githubusercontent.com/u/116576?v=3","gravatar_id":"","url":"https://api.github.com/users/patfrat","html_url":"https://github.com/patfrat","followers_url":"https://api.github.com/users/patfrat/followers","following_url":"https://api.github.com/users/patfrat/following{/other_user}","gists_url":"https://api.github.com/users/patfrat/gists{/gist_id}","starred_url":"https://api.github.com/users/patfrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patfrat/subscriptions","organizations_url":"https://api.github.com/users/patfrat/orgs","repos_url":"https://api.github.com/users/patfrat/repos","events_url":"https://api.github.com/users/patfrat/events{/privacy}","received_events_url":"https://api.github.com/users/patfrat/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T13:45:51Z","updated_at":"2016-01-06T13:45:51Z","body":"I have tried successfully to add JWK support like this using KJUR already present in your project.\r\n\r\n```javascript\r\n  var rsaVerifyJWS = function (jws, pubKey, alg) {\r\n    /*\r\n      convert various public key format to RSAKey object\r\n      see @KEYUTIL.getKey for a full list of supported input format\r\n     */\r\n    if(KJUR.jws.JWS.isSafeJSONString(pubKey)) {\r\n      pubKey = JSON.parse(pubKey);\r\n    }\r\n    var rsaKey = KEYUTIL.getKey(pubKey);\r\n\r\n    return KJUR.jws.JWS.verify(jws, rsaKey, [alg]);\r\n  };\r\n```"}}