-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix redirect_uri resolver #1013
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
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.
Thank you for the PR @leshalv.
Please see the review comment and also please add a test to confirm the fix.
...erver/authorization/authentication/OAuth2AuthorizationCodeRequestAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
Ok, I've made the modification. |
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 @leshalv. Please see review comments for minor formatting changes.
Also, before we merge this, we need a test that proves the fix has been applied. You should be able to modify the existing test OAuth2AuthorizationCodeRequestAuthenticationProviderTests.authenticateWhenPkceRequiredAndMissingCodeChallengeThenThrowOAuth2AuthorizationCodeRequestAuthenticationException()
to demonstrate the fix was applied. Thanks.
...erver/authorization/authentication/OAuth2AuthorizationCodeRequestAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...erver/authorization/authentication/OAuth2AuthorizationCodeRequestAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...erver/authorization/authentication/OAuth2AuthorizationCodeRequestAuthenticationProvider.java
Show resolved
Hide resolved
Do you need help with writing the test? Do you want me to write it and then merge? |
Yes. |
@leshalv Thanks again for reporting this. I added a polish commit with tests and is now merged. |
Fixes gh-1012