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
If the
OAuth2AuthorizedClient.accessTokenis expired for aclient_credentialsOAuth2AuthorizedClient.clientRegistrationthan theOAuth2AuthorizedClientArgumentResolvershould handle getting a new access token.This functionality already exists in
ServletOAuth2AuthorizedClientExchangeFilterFunction.authorizeWithClientCredentials()(Servlet) andServerOAuth2AuthorizedClientExchangeFilterFunction.authorizeWithClientCredentials()(Reactive).NOTE: This functionality needs to be implemented in both the Servlet and Reactive
OAuth2AuthorizedClientArgumentResolver.Related #5893