1
0
mirror of synced 2026-07-05 02:40:02 +00:00

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
@@ -54,6 +54,7 @@ public class WebClientConfig {
.authorizationCode()
.refreshToken()
.clientCredentials()
.password()
.build();
DefaultServerOAuth2AuthorizedClientManager authorizedClientManager =
new DefaultServerOAuth2AuthorizedClientManager(
@@ -52,6 +52,7 @@ public class WebClientConfig {
.authorizationCode()
.refreshToken()
.clientCredentials()
.password()
.build();
DefaultOAuth2AuthorizedClientManager authorizedClientManager = new DefaultOAuth2AuthorizedClientManager(
clientRegistrationRepository, authorizedClientRepository);