This repository was archived by the owner on Mar 5, 2025. It is now read-only.
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. |
Answered by
Hebilicious
Jul 19, 2023
Replies: 1 comment 3 replies
|
@misway Please provide a reproduction and make sure to use the latest version (0.1.7) |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to set the
baseUrlto your deployed website URL, otherwise the CSRF protection will prevent the callback from working.