mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-04 17:52:15 +00:00
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 {
|
private static class OAuth2ClasspathGuard {
|
||||||
static void configure(ApplicationContext context, ServerHttpSecurity http) {
|
static void configure(ApplicationContext context, ServerHttpSecurity http) {
|
||||||
http.oauth2Login();
|
http
|
||||||
|
.oauth2Login().and()
|
||||||
|
.oauth2Client();
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean shouldConfigure(ApplicationContext context) {
|
static boolean shouldConfigure(ApplicationContext context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user