alexdiz88
Cookies
2f9c75e7-beb9-4f30-9fa6-17e4c1f93301
I have deployed on the railway backend and frontend (Spring+React). Almost everything is working, but there's one issue. After logging in, another fetch request is made to retrieve user data. However, the server responds with two different cookies for these two requests, and the user isn't being "logged in". Is there a way to solve this issue on Railway? When I run the server and frontend locally, I don't encounter this problem due to the setup in the package.json with "proxy: http://127.0.0.1:8080". Can you suggest a solution?
21 replies