We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ServerHttpSecurity does NOT have a method to set the OAuth (auth code flow) redirect URI/template.
ServerHttpSecurity
The equivalent for HttpSecurity is:
HttpSecurity
http.oauth2Login().redirectionEndpoint().baseUri("/some/path/here")
It looks like the default patterns are hardcoded.
I was expecting the OAuth2 config to be similar between HttpSecurity and ServerHttpSecurity
5.1.4
If I'm just not seeing the correct method to set this let me know!
The text was updated successfully, but these errors were encountered:
@bdemers This configuration option was added just this week via #5598.
See OAuth2LoginSpec.authenticationMatcher(ServerWebExchangeMatcher authenticationMatcher).
OAuth2LoginSpec.authenticationMatcher(ServerWebExchangeMatcher authenticationMatcher)
Note: This is only available in master which is 5.2.x.
I'll close this issue but we can reopen if you require further assistance.
Sorry, something went wrong.
Sweet! my search-fu failed me :)
Thanks again @jgrandja !
jgrandja
No branches or pull requests
Summary
ServerHttpSecurity
does NOT have a method to set the OAuth (auth code flow) redirect URI/template.The equivalent for
HttpSecurity
is:It looks like the default patterns are hardcoded.
I was expecting the OAuth2 config to be similar between
HttpSecurity
andServerHttpSecurity
Version
5.1.4
If I'm just not seeing the correct method to set this let me know!
The text was updated successfully, but these errors were encountered: