Add support for Resource Owner Password Credentials grant

Fixes gh-6003
This commit is contained in:
Joe Grandja
2019-06-16 19:30:42 -04:00
parent de672e3ae9
commit dcd997ea43
38 changed files with 2393 additions and 72 deletions

View File

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