Ash FrameworkAF
Ash Framework7mo ago
3 replies
jasono

Plug.CSRFProtection.InvalidCSRFTokenError

Is there some documentation I can refer to about handling CSRF error for email confirmation using Ash Authentication. Clicking on the Confirm button on the confirmation email gets me this error.

Plug.CSRFProtection.InvalidCSRFTokenError at POST /auth/user/confirm
invalid CSRF (Cross Site Request Forgery) token, please make sure that:

* The session cookie is being sent and session is loaded
* The request include a valid '_csrf_token' param or 'x-csrf-token' header
Was this page helpful?