Closed
Description
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
.