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
If I upgrade to 3.1.0-RC1, it seems that CSRF causes issues and I'm unable to login and see any endpoints (e.g. /api/groups) that are secured. It results in an endless redirect that eventually results in rate-limiting errors (from Auth0, in my case).
You'll get an infinite redirect when you try to hit http://localhost:8080/api/groups. If you disable CSRF, it will work. Also, if you modify pom.xml to use Spring Boot version 3.0.5, everything will work without disabling CSRF.
The text was updated successfully, but these errors were encountered:
Thanks, Matt, but it's not clear to me why you have opened this against Spring Boot rather than Spring Security. If you have done some initial analysis that suggests Boot itself is the cause, can you please share that analysis? Otherwise, I think this should be reported to the Spring Security team.
With Spring Boot 3.0.5, I have the following Security Configuration and CSRF works as expected.
If I upgrade to 3.1.0-RC1, it seems that CSRF causes issues and I'm unable to login and see any endpoints (e.g.
/api/groups
) that are secured. It results in an endless redirect that eventually results in rate-limiting errors (from Auth0, in my case).Here's a repo that you can reproduce the problem with: https://github.com/oktadev/auth0-spring-boot-angular-crud-example
Instructions to reproduce:
Clone the repo above.
Install the Auth0 CLI and run
auth0 login
in a terminal. Then, runauth0 apps create
:Copy the results from the CLI into an okta.env file:
Start the app and log in:
You'll get an infinite redirect when you try to hit
http://localhost:8080/api/groups
. If you disable CSRF, it will work. Also, if you modifypom.xml
to use Spring Boot version 3.0.5, everything will work without disabling CSRF.The text was updated successfully, but these errors were encountered: