Closed
Description
If the OAuth2AuthorizedClient.accessToken
is expired for a client_credentials
OAuth2AuthorizedClient.clientRegistration
than the OAuth2AuthorizedClientArgumentResolver
should handle getting a new access token.
This functionality already exists in ServletOAuth2AuthorizedClientExchangeFilterFunction.authorizeWithClientCredentials()
(Servlet) and ServerOAuth2AuthorizedClientExchangeFilterFunction.authorizeWithClientCredentials()
(Reactive).
NOTE: This functionality needs to be implemented in both the Servlet and Reactive OAuth2AuthorizedClientArgumentResolver
.
Related #5893