File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
docs/modules/ROOT/pages/reactive/oauth2/login Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public class OAuth2LoginSecurityConfig {
127127 @Bean
128128 public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
129129 http
130- .exceptionHandling(exceptions -> exceptions
130+ .exceptionHandling(exceptionHandling -> exceptionHandling
131131 .authenticationEntryPoint(new RedirectServerAuthenticationEntryPoint("/login/oauth2"))
132132 )
133133 .oauth2Login(oauth2 -> oauth2
Original file line number Diff line number Diff line change @@ -380,8 +380,8 @@ public class OAuth2LoginConfig {
380380 }
381381
382382 @Bean
383- public ClientRegistrationRepository clientRegistrationRepository() {
384- return new InMemoryClientRegistrationRepository (this.googleClientRegistration());
383+ public ReactiveClientRegistrationRepository clientRegistrationRepository() {
384+ return new InMemoryReactiveClientRegistrationRepository (this.googleClientRegistration());
385385 }
386386
387387 private ClientRegistration googleClientRegistration() {
You can’t perform that action at this time.
0 commit comments