-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Implement User Info Endpoint #441
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
0603588
to
970ce39
Compare
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.
Looks great! The suggestions from my PR fit really well. Added a few minor comments for your consideration. Let me know if there's anything else I can help with.
...ecurity/config/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoTests.java
Outdated
Show resolved
Hide resolved
...k/security/config/annotation/web/configurers/oauth2/server/authorization/OidcConfigurer.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/oidc/authentication/OidcUserInfoAuthenticationProvider.java
Show resolved
Hide resolved
...pringframework/security/oauth2/server/authorization/oidc/web/OidcUserInfoEndpointFilter.java
Outdated
Show resolved
Hide resolved
@idosal Thanks! I've incorporated your original commits into this PR, as well as minor changes based on your feedback. (I'll squash the last commit before merging.) |
Hi, When will this feature be released? I am waiting for it. |
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 @sjohnr. Please see review comments.
...pringframework/security/oauth2/server/authorization/oidc/web/OidcUserInfoEndpointFilter.java
Outdated
Show resolved
Hide resolved
...pringframework/security/oauth2/server/authorization/oidc/web/OidcUserInfoEndpointFilter.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/oidc/authentication/OidcUserInfoAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/oidc/authentication/OidcUserInfoAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...k/security/config/annotation/web/configurers/oauth2/server/authorization/OidcConfigurer.java
Show resolved
Hide resolved
...g/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoEndpointConfigurer.java
Outdated
Show resolved
Hide resolved
...g/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoEndpointConfigurer.java
Show resolved
Hide resolved
...g/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoEndpointConfigurer.java
Outdated
Show resolved
Hide resolved
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 @sjohnr. Please see review comments.
...pringframework/security/oauth2/server/authorization/oidc/web/OidcUserInfoEndpointFilter.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/oidc/authentication/OidcUserInfoAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...ecurity/oauth2/server/authorization/oidc/authentication/OidcUserInfoAuthenticationToken.java
Outdated
Show resolved
Hide resolved
...pringframework/security/oauth2/server/authorization/oidc/web/OidcUserInfoEndpointFilter.java
Outdated
Show resolved
Hide resolved
...pringframework/security/oauth2/server/authorization/oidc/web/OidcUserInfoEndpointFilter.java
Outdated
Show resolved
Hide resolved
...a/org/springframework/security/oauth2/server/authorization/config/ProviderSettingsTests.java
Show resolved
Hide resolved
...ecurity/config/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoTests.java
Outdated
Show resolved
Hide resolved
...ecurity/config/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoTests.java
Outdated
Show resolved
Hide resolved
...ecurity/config/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoTests.java
Show resolved
Hide resolved
...ecurity/config/annotation/web/configurers/oauth2/server/authorization/OidcUserInfoTests.java
Show resolved
Hide resolved
@jgrandja I finished preliminary changes based on your feedback. I still need to solve the |
@jgrandja this is ready for final review. Thanks for the feedback! |
I got a 401 when I use this. The OAuth2 Client call userinfo only with jwt token, and because UserInfo filter behind the Is there anything I use wrong? I just use the default settings. |
@yangyaofei See this integration test for an example of how to configure authorization server for user info. |
@sjohnr oh, thank you, when I add I'm looking forward to see this PR merged and release in 0.2.1, and then I can ues this in my productions, thank you again. |
Thanks for the updates @sjohnr. This is now in main! |
Closes gh-176