Skip to content
Discussion options

You must be logged in to vote

In the meantime, I was trying with a Reactive Gateway hosting a Thymeleaf template with some XHR and could reproduce your error.

The spring-addons auto-configuration for CSRF protection with HttpOnly=false has been broken in reactive applications since version 8.1.0. The problem is that I blindly trusted the Spring Security docs for that and removed the custom ServerCsrfTokenRequestAttributeHandler. As I used only servlet Gateways, I didn't notice that the doc is wrong for reactive apps :/

I just published 8.1.2 with a fix. I also added two BFF samples which contain Thymeleaf templates with XHR requests:

Replies: 8 comments 13 replies

Comment options

You must be logged in to vote
3 replies
@sisco70
Comment options

@ch4mpy
Comment options

@ch4mpy
Comment options

Comment options

You must be logged in to vote
3 replies
@ch4mpy
Comment options

@ch4mpy
Comment options

@ch4mpy
Comment options

Comment options

You must be logged in to vote
1 reply
@ch4mpy
Comment options

Comment options

You must be logged in to vote
2 replies
@ch4mpy
Comment options

@ch4mpy
Comment options

Comment options

You must be logged in to vote
3 replies
@ch4mpy
Comment options

@sisco70
Comment options

@sisco70
Comment options

Comment options

You must be logged in to vote
1 reply
@ch4mpy
Comment options

Answer selected by ch4mpy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants