-
Notifications
You must be signed in to change notification settings - Fork 6k
Support auto-configuration of JwkSet Uri #5523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After this feature has been merged, we need to log a ticket with the Boot team to support the |
@jzheaux As far as approach on implementing this feature, @rwinch and I spoke and agree that it should be implemented similar to how For example: The returned NOTE: We may have to re-factor the existing |
Spring Security would not configure on the DSL. User's (and Boot) could create a JwtDecoder Bean using the factory and then it would be used by the DSL by default. Alternatively, user's would be able to explicitly inject it via the decoder(..) method |
Related #5584 |
Adding JwtDecoders#fromOidcIssuerLocation which takes an issuer and derives from it the jwk set uri via a call to .well-known/openid-configuration Fixes: spring-projectsgh-5523
We should provide support for auto-configuration of the JwkSet Uri via the supplied
issuer
claim that can be used to discover Provider Metadata via OpenID Connect Discovery. The Provider Metadata contains thejwks_uri
attribute which would be used to supply theJwtDecoder
.The text was updated successfully, but these errors were encountered: