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.
@krnbr I'm facing the same issue that I'm getting redirected to
/oauth2/authorization/<provider>
with a configured client_credentials grant. How exactly did you fix this?