{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityModel/oidc-client-js/issues/264","repository_url":"https://api.github.com/repos/IdentityModel/oidc-client-js","labels_url":"https://api.github.com/repos/IdentityModel/oidc-client-js/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/IdentityModel/oidc-client-js/issues/264/comments","events_url":"https://api.github.com/repos/IdentityModel/oidc-client-js/issues/264/events","html_url":"https://github.com/IdentityModel/oidc-client-js/issues/264","id":206771583,"number":264,"title":"No key matching kid found in signing keys","user":{"login":"cornelius-agrippa","id":23480205,"avatar_url":"https://avatars.githubusercontent.com/u/23480205?v=3","gravatar_id":"","url":"https://api.github.com/users/cornelius-agrippa","html_url":"https://github.com/cornelius-agrippa","followers_url":"https://api.github.com/users/cornelius-agrippa/followers","following_url":"https://api.github.com/users/cornelius-agrippa/following{/other_user}","gists_url":"https://api.github.com/users/cornelius-agrippa/gists{/gist_id}","starred_url":"https://api.github.com/users/cornelius-agrippa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornelius-agrippa/subscriptions","organizations_url":"https://api.github.com/users/cornelius-agrippa/orgs","repos_url":"https://api.github.com/users/cornelius-agrippa/repos","events_url":"https://api.github.com/users/cornelius-agrippa/events{/privacy}","received_events_url":"https://api.github.com/users/cornelius-agrippa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-10T11:20:35Z","updated_at":"2017-02-10T15:37:11Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to sign in to an OIDC server based on [MITREid Connect](https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server), however when I try to make a signinRedirect() using oidc-client-js, I get the error \"No key matching kid found in signing keys\". \r\n\r\nI'm quite new to OIDC at the moment so I'm not sure if I'm missing some configuration. My sign in flow is written like this:\r\n\r\nI've defined the UserManager globally like so:\r\n```\r\nvar oidcSettings = {\r\n  authority: 'http://<OIDC SERVER>/oidc',\r\n  client_id: '<id defined in OIDC SERVER>',\r\n  redirect_uri: 'http://localhost:3000/callback.html',\r\n  post_logout_redirect_uri: 'http://localhost:3000/auth.html',\r\n  response_type: 'id_token token',\r\n  scope: 'openid profile email address phone'\r\n};\r\n\r\nvar oidcMgr = new Oidc.UserManager(oidcSettings);\r\n```\r\n\r\nWhen the user clicks \"Sign In\", I simply do:\r\n```\r\n$('#button-signin').click(function() {\r\n\toidcMgr.signinRedirect();\r\n})\r\n```\r\nAnd send the user to callback.html, which does:\r\n```\r\noidcMgr.signinRedirectCallback().then(function () {\r\n\twindow.location = \"index.html\";\r\n}).catch(function (e) {\r\n\tconsole.error(e);\r\n\tlocalStorage.setItem(\"sessionError\", e);\r\n});\r\n```\r\n\r\nAnd here I get the error I've mentioned. \r\n\r\nWhat am I missing? Could I've missed some configuration on the OIDC server's side?\r\n\r\nThanks in advance for any help,\r\nBest Regards"},"comment":{"url":"https://api.github.com/repos/IdentityModel/oidc-client-js/issues/comments/278976954","html_url":"https://github.com/IdentityModel/oidc-client-js/issues/264#issuecomment-278976954","issue_url":"https://api.github.com/repos/IdentityModel/oidc-client-js/issues/264","id":278976954,"user":{"login":"brockallen","id":649492,"avatar_url":"https://avatars.githubusercontent.com/u/649492?v=3","gravatar_id":"","url":"https://api.github.com/users/brockallen","html_url":"https://github.com/brockallen","followers_url":"https://api.github.com/users/brockallen/followers","following_url":"https://api.github.com/users/brockallen/following{/other_user}","gists_url":"https://api.github.com/users/brockallen/gists{/gist_id}","starred_url":"https://api.github.com/users/brockallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockallen/subscriptions","organizations_url":"https://api.github.com/users/brockallen/orgs","repos_url":"https://api.github.com/users/brockallen/repos","events_url":"https://api.github.com/users/brockallen/events{/privacy}","received_events_url":"https://api.github.com/users/brockallen/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T15:37:11Z","updated_at":"2017-02-10T15:37:11Z","body":"Can you show an id_token and their metadata URL?"}}
{"actor":{"display_login":"brockallen"}}