1
0
mirror of synced 2026-07-19 09:35:12 +00:00

WebFluxSecurityConfiguration configures oauth2Client() by default

Fixes gh-7470
This commit is contained in:
Joe Grandja
2019-09-27 10:04:19 -04:00
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) {