Replies: 1 comment
-
Did you check if your CORS settings is compatible with your Azure deployment. Try updating your CORS configuration:
Also, update your cookie settings:
Try this one and let me know if it works. Happy Coding:) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was developing an api in express js with google OAuth 2.0 passport, the point is that when the client logs in with google the server gives a cookie to the client and the client, through a useEffect, sends the cookie to another endpoint to obtain the user's information and set it in the sessionUser through dispatch, I tested this functionality on the localhost and everything works very well, but when I deployed the api in azure and left the front on the localhost to continue working, I realized that the client receives the cookie but not the send to the api back Este es mi backend:
Beta Was this translation helpful? Give feedback.
All reactions