You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: I have updated my app to 4.6.3 and doing so allows me to remove the servlet 4.9 dependencies, so that's great.
However, when I bump to 4.7.0, OIDC authentication no longer works. Is it possible to track down what has changed that broke this?
Expected Behavior
When using OIDC authentication with Google and Tomcat, I expect to be able to log in successfully.
The Micronaut Guide SECURE A MICRONAUT APPLICATION WITH GOOGLE was followed, and the server was changed from netty to tomcat, and this fails.
This seems similar to
#239
which includes links to
#256
#275
Actual Behaviour
The callback URL fails with the following exception
ERROR i.m.http.server.RouteExecutor - Unexpected error occurred: Error instantiating bean of type [io.micronaut.security.oauth2.endpoint.authorization.response.DefaultOpenIdAuthorizationResponse]: Error decoding request body: Stream closed
This works fine with Netty.
mn-tomcat-google-error.txt
Steps To Reproduce
implementation("io.micronaut.servlet:micronaut-http-server-tomcat")
Environment Information
Example Application
Download the java/gradle micronaut guide sample from here.
Version
4.4.0
The text was updated successfully, but these errors were encountered: