Can we use auth.js in ExpressAuth with the client residing in a different domain ? i.e Client in example.com and Server in example2.com #12435
Unanswered
roshanbiswanath
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to implement this kind of system for a project, but I am not able to make it work.
The system works when both the system are in localhost and I rewrite auth routes to the backend but it fails when I try to deploy them into separate domains.
On login I get a MissingCSRF error. The cookies aren't getting shared across sites.
Beta Was this translation helpful? Give feedback.
All reactions