Polish Fix package tangles

Issue #7699 #7840
This commit is contained in:
Joe Grandja 2020-02-24 06:41:31 -05:00
parent 82cd203791
commit 4e2f1988f2
1 changed files with 1 additions and 2 deletions

View File

@ -521,8 +521,7 @@ public final class ServerOAuth2AuthorizedClientExchangeFilterFunction implements
this.clientRegistrationRepository = clientRegistrationRepository;
this.authorizedClientRepository = authorizedClientRepository;
this.authorizationSuccessHandler = (authorizedClient, principal, attributes) ->
authorizedClientRepository.saveAuthorizedClient(authorizedClient, principal,
(ServerWebExchange) attributes.get(ServerWebExchange.class.getName()));
authorizedClientRepository.saveAuthorizedClient(authorizedClient, principal, null);
this.authorizationFailureHandler = authorizationFailureHandler;
}