Add support for Resource Owner Password Credentials grant
Fixes gh-6003
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user