Add Refresh Token grant type support

Closes gh-50
This commit is contained in:
Alexey Nesterov
2020-10-07 12:53:37 +03:00
committed by Joe Grandja
parent 1ce77d3caa
commit 78d4bd0bad
20 changed files with 1227 additions and 79 deletions

View File

@@ -51,6 +51,7 @@ public class WebClientConfig {
OAuth2AuthorizedClientProviderBuilder.builder()
.authorizationCode()
.clientCredentials()
.refreshToken()
.build();
DefaultOAuth2AuthorizedClientManager authorizedClientManager = new DefaultOAuth2AuthorizedClientManager(
clientRegistrationRepository, authorizedClientRepository);