Skip to content

OAuth2AuthorizedClientArgumentResolver should refresh access token when expired and authorization_code #6610

Closed
@jgrandja

Description

@jgrandja

If the OAuth2AuthorizedClient.accessToken is expired for a authorization_code OAuth2AuthorizedClient.clientRegistration and OAuth2AuthorizedClient.refreshToken is available than the OAuth2AuthorizedClientArgumentResolver should handle refreshing the access token.

This functionality already exists in ServletOAuth2AuthorizedClientExchangeFilterFunction.authorizeWithRefreshToken() (Servlet) and ServerOAuth2AuthorizedClientExchangeFilterFunction.authorizeWithRefreshToken() (Reactive).

NOTE: This functionality needs to be implemented in both the Servlet and Reactive OAuth2AuthorizedClientArgumentResolver.

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions