Edge CSRF protected error #35
-
Hello, Testing on localhost is fine, but after deploying to Cloudflare, an error occurs with the JS Sign In functionality, attempting to log in using Native Link Sign In results in the error message: I've tried both Google and Facebook login, and the same issue happens with both. Repo: https://github.com/misway/authjs-test Any suggestions? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@misway Please provide a reproduction and make sure to use the latest version (0.1.7) |
Beta Was this translation helpful? Give feedback.
You need to set the
baseUrl
to your deployed website URL, otherwise the CSRF protection will prevent the callback from working.