-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Finer variables for OAuth2 redirectUriTemplate expansion #6900
Finer variables for OAuth2 redirectUriTemplate expansion #6900
Conversation
@rwinch I've managed to craft something with some assumptions, expecting feedback. |
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 @zeratul021! I added review comments.
Can you also rebase off master since the class has been updated since your PR?
...ringframework/security/oauth2/client/web/DefaultOAuth2AuthorizationRequestResolverTests.java
Outdated
Show resolved
Hide resolved
...ework/security/oauth2/client/web/server/DefaultServerOAuth2AuthorizationRequestResolver.java
Show resolved
Hide resolved
...rg/springframework/security/oauth2/client/web/DefaultOAuth2AuthorizationRequestResolver.java
Show resolved
Hide resolved
...st/java/org/springframework/security/oauth2/client/registration/TestClientRegistrations.java
Outdated
Show resolved
Hide resolved
Thanks for the PR @zeratul021! This is now merged into master |
What was the initial reason for this change? |
Fixes #6239
Provided baseScheme, baseHost, basePort and basePath variables that comprise the baseUrl variable.
To avoid errors during templating, I've added all variables with empty string default.