This gist describes the configuration required for Spring reactive WebClient to make a call to an OAuth2 protected resource through OAuth2.0 Client Credentials Grant Type Flow.
Assumption is that the Authorization Server supports OpenId Connect 1.0 specifications.
@winster
Do clap on that page. I actually invested time writing that one..
resource server means that the access token's issuer is not matching as per the JWT based access token you are sending, which is the issuer claim configured in the access token.
And it is not matching the issuers allowed in resource server.
I guess one minute is less for the access token..
you should try to increase the expiry, like practically i did a expiry of token for 2 hours and it was working flawlessly.. Do not know the case of
AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager