Skip to content

OAuth2ClientConfiguration discovers client_credentials OAuth2AccessTokenResponseClient #6572

Closed
@jgrandja

Description

@jgrandja

We should allow for a @Bean of type OAuth2AccessTokenResponseClient<OAuth2ClientCredentialsGrantRequest> to be discovered by OAuth2ClientConfiguration. This would than be associated with OAuth2AuthorizedClientArgumentResolver.setClientCredentialsTokenResponseClient().

Ultimately, this will allow the user to register a DefaultClientCredentialsTokenResponseClient @Bean with a configured RestOperations and/or Converter<OAuth2ClientCredentialsGrantRequest, RequestEntity<?>>.

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configin: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions