Expected CSRF token not found Spring Security
|Added at||2016-12-16 20:12|
This is the scenario:
I'm using Spring Security 4.0.1, which has CSRF enabled by default, and everything was working OK until yesterday.
Yesterday I added Spring Security Tags, and the login (and other forms were working fine) but a special form stopped working.
This form is multipart because uploads two files, this form has the CSRF parameter but the server is returning :
This is basically the form:
Of course this is a completely cut-off version of the form, but notice the CSRF parameter is being sent through the action URL. And yes, I've tried putting the CSRF parameter in a hidden input with the same result.
On a side note, this form can be accessed as Anonymous User