-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support XorCsrfTokenRequestAttributeHandler #14923
Comments
When will this be fixed as it blocks migrating Hilla apps to Spring Boot 3? |
Hilla uses the old style csrf token so this should not block anything unless there is a bug |
@Artur- So this is not the cause for: vaadin/hilla#681 |
Artur-
added a commit
that referenced
this issue
Apr 3, 2023
The stateless configuration is copied from https://docs.spring.io/spring-security/reference/5.8/migration/servlet/exploits.html#_i_am_using_angularjs_or_another_javascript_framework Fixes #14923
Artur-
added a commit
that referenced
this issue
Apr 3, 2023
The stateless configuration is copied from https://docs.spring.io/spring-security/reference/5.8/migration/servlet/exploits.html#_i_am_using_angularjs_or_another_javascript_framework Fixes #14923
Artur-
added a commit
that referenced
this issue
Apr 3, 2023
This ticket/PR has been released with Vaadin 24.1.0.alpha3 and is also targeting the upcoming stable 24.1.0 version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe your motivation
Spring Security 6 switched to use
XorCsrfTokenRequestAttributeHandler
for the CSRF token by default in spring-projects/spring-security#11960. This is not supported by Hilla endpoints right now. The login handler returns theCsrfTokenRequestAttributeHandler
token instead and the next endpoint request then fails.Describe the solution you'd like
Endpoints and Hilla should work with both
CsrfTokenRequestAttributeHandler
andXorCsrfTokenRequestAttributeHandler
The text was updated successfully, but these errors were encountered: