Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

About the CORS and cookie problem #45

Closed
ymw0407 opened this issue Oct 4, 2023 Discussed in #32 · 0 comments · Fixed by AgainIoT/Open-Set-Go_server#122 or AgainIoT/Open-Set-Go_client#80
Closed

About the CORS and cookie problem #45

ymw0407 opened this issue Oct 4, 2023 Discussed in #32 · 0 comments · Fixed by AgainIoT/Open-Set-Go_server#122 or AgainIoT/Open-Set-Go_client#80
Assignees

Comments

@ymw0407
Copy link
Member

ymw0407 commented Oct 4, 2023

Discussed in #32

Originally posted by bentshrimp September 21, 2023

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.

@ymw0407 ymw0407 linked a pull request Oct 4, 2023 that will close this issue
11 tasks
@bentshrimp bentshrimp linked a pull request Oct 5, 2023 that will close this issue
11 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants