File tree 2 files changed +3
-3
lines changed
docs/modules/ROOT/pages/reactive/oauth2/login
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public class OAuth2LoginSecurityConfig {
127
127
@Bean
128
128
public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
129
129
http
130
- .exceptionHandling(exceptions -> exceptions
130
+ .exceptionHandling(exceptionHandling -> exceptionHandling
131
131
.authenticationEntryPoint(new RedirectServerAuthenticationEntryPoint("/login/oauth2"))
132
132
)
133
133
.oauth2Login(oauth2 -> oauth2
Original file line number Diff line number Diff line change @@ -380,8 +380,8 @@ public class OAuth2LoginConfig {
380
380
}
381
381
382
382
@Bean
383
- public ClientRegistrationRepository clientRegistrationRepository() {
384
- return new InMemoryClientRegistrationRepository (this.googleClientRegistration());
383
+ public ReactiveClientRegistrationRepository clientRegistrationRepository() {
384
+ return new InMemoryReactiveClientRegistrationRepository (this.googleClientRegistration());
385
385
}
386
386
387
387
private ClientRegistration googleClientRegistration() {
You can’t perform that action at this time.
0 commit comments