About the CORS and cookie problem #32
Closed
bentshrimp
started this conversation in
General
Replies: 1 comment
-
lets resolve this issue at #45 |
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
-
About the CORS problem
The client, ReactJS app and the server, NestJS app are being run on a same machine, AWS EC2. This is the only reason why we don't encounter CORS error. By the way, it happens when client and server are being run on different machines.
About the cookie problem
When the client and server are running on a same machine, browser dev tool doesn't show the cookie. On the other hand, when they are not, even without getting cookie and writing cookie, browser says it has the cookie. I have no idea what happens here.
We should keep trying to figure out how to fix these problem.
Beta Was this translation helpful? Give feedback.
All reactions