Ash FrameworkAF
Ash Framework5mo ago
5 replies
Justin

Confirmation broke, probably when the new confirmation button was added

When the confirmation button is clicked I see this error:
Plug.CSRFProtection.InvalidCSRFTokenError at POST /auth/user/confirm_new_user
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


To get around this I have to add a new pipeline without protect_from_forgery in it for the auth routes. I generated a new project and added Ash Auth and it didn't add that, so I'm not sure what is causing this issue, any insight is appreciated.
Was this page helpful?