-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement Client Configuration Endpoint #427
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 @jgrandja . After going again through the specification I think that we will also need to touch the client registration logic . The Should I do it in this PR or would you prefer to raise a new PR/enhancement for this? (after this one is merged) |
Yes, please enhance |
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 for the PR @ovidiupopa91 ! Please see review comments.
...ork/security/oauth2/server/authorization/oidc/web/OidcClientConfigurationEndpointFilter.java
Outdated
Show resolved
Hide resolved
...ork/security/oauth2/server/authorization/oidc/web/OidcClientConfigurationEndpointFilter.java
Outdated
Show resolved
Hide resolved
...ork/security/oauth2/server/authorization/oidc/web/OidcClientConfigurationEndpointFilter.java
Outdated
Show resolved
Hide resolved
...th2/server/authorization/oidc/authentication/OidcClientConfigurationAuthenticationToken.java
Outdated
Show resolved
Hide resolved
.../server/authorization/oidc/authentication/OidcClientConfigurationAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...ecurity/oauth2/server/authorization/oidc/authentication/OidcAuthenticationProviderUtils.java
Outdated
Show resolved
Hide resolved
...2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationProvider.java
Show resolved
Hide resolved
Thank you @jgrandja for the review! I've incorporated the changes based on your feedback (and squashed the last commit). |
Thanks for the updates @ovidiupopa91 ! After a high-level review, I think we should merge the code from Most of the code in the 2x Take a look at a similar implementation in Thanks for your work! |
Hi @jgrandja. I've merged the code into |
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 for the updates @ovidiupopa91 ! Please see review comments.
...uth2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationToken.java
Show resolved
Hide resolved
...uth2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationToken.java
Outdated
Show resolved
Hide resolved
...uth2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationToken.java
Outdated
Show resolved
Hide resolved
...uth2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationToken.java
Outdated
Show resolved
Hide resolved
...2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...2/server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...ecurity/oauth2/server/authorization/oidc/authentication/OidcAuthenticationProviderUtils.java
Outdated
Show resolved
Hide resolved
...ecurity/oauth2/server/authorization/oidc/authentication/OidcAuthenticationProviderUtils.java
Outdated
Show resolved
Hide resolved
.../server/authorization/oidc/authentication/OidcClientRegistrationAuthenticationConverter.java
Outdated
Show resolved
Hide resolved
* | ||
* @author Ovidiu Popa | ||
*/ | ||
public class OidcClientConfigurationTests { |
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.
Remove this and move tests into OidcClientRegistrationTests
@jgrandja I finished the changes based on your feedback. This should be ready for another review. Thank you! |
See: https://openid.net/specs/openid-connect-registration-1_0.html#ClientConfigurationEndpoint Generate registration_client_uri and registration_access_token when registering a new client (see: https://openid.net/specs/openid-connect-registration-1_0.html#ClientRegistration) Closes spring-projectsgh-355
Thanks for the updates @ovidiupopa91. This is now in main! FYI, I added some polish in order to get this merged. Thanks again for all your work! |
hi @jgrandja. No questions from my side. |
Appreciate all your help @ovidiupopa91 ! |
Hi @ovidiupopa91. We've had a few issues logged for I think we should change the schema from On a side note, I've been working on gh-106 and the |
hi @jgrandja. Sure, I can look into this. |
See: https://openid.net/specs/openid-connect-registration-1_0.html#ClientConfigurationEndpoint
Closes gh-355