Skip to content

Commit

Permalink
add missing code
Browse files Browse the repository at this point in the history
  • Loading branch information
mucsi96 committed Jul 27, 2023
1 parent 7ddffb6 commit 6a81ccf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ OAuth2AuthorizedClientManager withingsAuthorizedClientManager(
authorizedClientManager.setAuthorizedClientProvider(authorizedClientProvider);
Set<String> removeAuthorizedClientErrorCodes = Set.of(
OAuth2ErrorCodes.INVALID_GRANT,
OAuth2ErrorCodes.INVALID_TOKEN /* ,"invalid_token_response" */);
OAuth2ErrorCodes.INVALID_TOKEN, "invalid_token_response");

authorizedClientManager.setAuthorizationFailureHandler(new RemoveAuthorizedClientOAuth2AuthorizationFailureHandler(
(clientRegistrationId, principal, attributes) -> authorizedClientRepository.removeAuthorizedClient(
Expand Down

0 comments on commit 6a81ccf

Please sign in to comment.