Oauth2 Client_Credentials Grant: java.lang.IllegalArgumentException: serverWebExchange cannot be null #7468
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
Uh oh!
There was an error while loading. Please reload this page.
Summary
I recently upgraded to Spring Security
5.2.0.RC1
because Webclient is not 'renewing' tokens for Oauth2 Client_credentials grant type.I have the folling configuration
and finally, I'm calling Webclient
Actual Behavior
I get an exception
PS: The stacktrace above has some Kafka bits in there.
Expected Behavior
I expect webclient to make the request using the access token. It works fine with Spring Security 5.1.6.RELEASE, the only issue, it does not renew the token after it is expired
Configuration
Version
Spring Boot: 2.1.8.RELEASE
Spring Security: 5.2.0.RC1
Sample
No Sample
The text was updated successfully, but these errors were encountered: