WebFluxSecurityConfiguration configures oauth2Client() by default
Fixes gh-7470
This commit is contained in:
parent
08d2c93713
commit
5a67971375
|
@ -114,7 +114,9 @@ class WebFluxSecurityConfiguration {
|
|||
|
||||
private static class OAuth2ClasspathGuard {
|
||||
static void configure(ApplicationContext context, ServerHttpSecurity http) {
|
||||
http.oauth2Login();
|
||||
http
|
||||
.oauth2Login().and()
|
||||
.oauth2Client();
|
||||
}
|
||||
|
||||
static boolean shouldConfigure(ApplicationContext context) {
|
||||
|
|
Loading…
Reference in New Issue