-
Notifications
You must be signed in to change notification settings - Fork 6k
Make jwks_uri optional for RFC 8414 and required for OpenID Connect #7573
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
Conversation
Hi @jzheaux, I would appreciate the feedback. I also noticed that the
As per our conversation on the issue, I have pushed my changes and kept the error message the same as above unless you want it to be different. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @rhamedy! I've left some feedback inline.
...c/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java
Outdated
Show resolved
Hide resolved
@jzheaux pushed my changes relating to your feedback. I will squash my commits once there are no other changes needed to make. 👍 |
I find it difficult to come up with good method names. If you think the new method names could be improved, then please feel free to suggest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the method names look great, @rhamedy, thanks for being so open to feedback.
I've left a few inline comments - I think we are just about there.
...c/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java
Outdated
Show resolved
Hide resolved
...st/java/org/springframework/security/oauth2/client/registration/ClientRegistrationsTest.java
Show resolved
Hide resolved
Hi @jzheaux, replied to you comments and pushed the recent changes up 👍 |
OpenID Connect Discovery 1.0 expects the OpenId Provider Metadata response is expected to return a valid jwks_uri, however, this field is optional in the Authorization Server Metadata response as per RFC 8414 specification. Fixes spring-projectsgh-7512
Thank you for approving the changes. I have squashed my commits 👍 |
Thanks, @rhamedy! This is now merged into |
Relating to #7512