No provider found for OAuth2AuthorizationCodeAuthenticationToken when running Spring Native Reactive app using OAuth2 #12615
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: bug
A general bug
Milestone
Describe the bug
Logging in using reactive OAuth2 built with native throws after redirect from OAuth2 server(Google in my case).
Do note that the non-reactive counterpart does work and is able to find the provider correctly.
To Reproduce
run
gradlew bootBuildImage
, run the docker image that is created, and attempt to login via OAuth2.Expected behavior
Login with reactive Oauth2 without error
Sample
Here is a repo with a working example minus client id/secrets for the oauth2 client
The text was updated successfully, but these errors were encountered: