Sunday, June 5, 2016

Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'.

If you see the following error:

There was an unexpected error (type=Forbidden, status=403).
Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'.

Check if you're trying to sign out (log out, logout) in security-ignored path.

`CsrfToken` will be `null` in security-ignored path.

No comments:

Post a Comment