parent
82cd203791
commit
4e2f1988f2
|
@ -521,8 +521,7 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements
|
||||||
this.clientRegistrationRepository = clientRegistrationRepository;
|
this.clientRegistrationRepository = clientRegistrationRepository;
|
||||||
this.authorizedClientRepository = authorizedClientRepository;
|
this.authorizedClientRepository = authorizedClientRepository;
|
||||||
this.authorizationSuccessHandler = (authorizedClient, principal, attributes) ->
|
this.authorizationSuccessHandler = (authorizedClient, principal, attributes) ->
|
||||||
authorizedClientRepository.saveAuthorizedClient(authorizedClient, principal,
|
authorizedClientRepository.saveAuthorizedClient(authorizedClient, principal, null);
|
||||||
(ServerWebExchange) attributes.get(ServerWebExchange.class.getName()));
|
|
||||||
this.authorizationFailureHandler = authorizationFailureHandler;
|
this.authorizationFailureHandler = authorizationFailureHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue