{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/auth0-spring-security-api/issues/53","repository_url":"https://api.github.com/repos/auth0/auth0-spring-security-api","labels_url":"https://api.github.com/repos/auth0/auth0-spring-security-api/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0-spring-security-api/issues/53/comments","events_url":"https://api.github.com/repos/auth0/auth0-spring-security-api/issues/53/events","html_url":"https://github.com/auth0/auth0-spring-security-api/issues/53","id":316905424,"number":53,"title":"Using a custom JWKS URL","user":{"login":"dschiavu","id":2492584,"avatar_url":"https://avatars0.githubusercontent.com/u/2492584?v=4","gravatar_id":"","url":"https://api.github.com/users/dschiavu","html_url":"https://github.com/dschiavu","followers_url":"https://api.github.com/users/dschiavu/followers","following_url":"https://api.github.com/users/dschiavu/following{/other_user}","gists_url":"https://api.github.com/users/dschiavu/gists{/gist_id}","starred_url":"https://api.github.com/users/dschiavu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschiavu/subscriptions","organizations_url":"https://api.github.com/users/dschiavu/orgs","repos_url":"https://api.github.com/users/dschiavu/repos","events_url":"https://api.github.com/users/dschiavu/events{/privacy}","received_events_url":"https://api.github.com/users/dschiavu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-23T17:20:23Z","updated_at":"2018-04-23T20:53:01Z","closed_at":null,"author_association":"NONE","body":"I'm using this library for securing my Spring Boot backend with an alternative OpenID provider and not Auth0. \r\n\r\nI need a way to pass a custom JWKS URL to `JwtWebSecurityConfigurer`, as my OpenID provider uses a non-standard path, so the hardcoded `$issuer/.well-known/jwks.json` (in `UrlJwkProvider`) path doesn't work for me. The docs say: _Configures application authorization for JWT signed with RS256 Will try to validate the token using the public key downloaded from \"$issuer/.well-known/jwks.json\" and matched by the value of kid of the JWT header_\r\n\r\nWould it be possible to parametrize this so a custom JWKS path (URL) can be passed as an argument to the `JwtWebSecurityConfigurer.forRS256(apiAudience, issuer, ...)` constructors?\r\n\r\nCurrently I use a work around where I extend `JwkProviderBuilder` and override `build()` to use my custom JWKS URL.\r\n"},"comment":{"url":"https://api.github.com/repos/auth0/auth0-spring-security-api/issues/comments/383718992","html_url":"https://github.com/auth0/auth0-spring-security-api/issues/53#issuecomment-383718992","issue_url":"https://api.github.com/repos/auth0/auth0-spring-security-api/issues/53","id":383718992,"user":{"login":"darthvalinor","id":38142189,"avatar_url":"https://avatars2.githubusercontent.com/u/38142189?v=4","gravatar_id":"","url":"https://api.github.com/users/darthvalinor","html_url":"https://github.com/darthvalinor","followers_url":"https://api.github.com/users/darthvalinor/followers","following_url":"https://api.github.com/users/darthvalinor/following{/other_user}","gists_url":"https://api.github.com/users/darthvalinor/gists{/gist_id}","starred_url":"https://api.github.com/users/darthvalinor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darthvalinor/subscriptions","organizations_url":"https://api.github.com/users/darthvalinor/orgs","repos_url":"https://api.github.com/users/darthvalinor/repos","events_url":"https://api.github.com/users/darthvalinor/events{/privacy}","received_events_url":"https://api.github.com/users/darthvalinor/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T20:53:01Z","updated_at":"2018-04-23T20:53:01Z","author_association":"NONE","body":"https://github.com/auth0/jwks-rsa-java/pull/22\r\nthis might help a little"}}
{"actor":{"display_login":"darthvalinor"}}