I'm working on a project where I’m using JWT (JSON Web Tokens) stored in cookies to manage user sessions. Everything works perfectly when I run the app locally, and the cookies are being set and retrieved without any issues. However, when I deploy the app to Railway, the cookies stop appearing and I can't seem to retrieve them.
Here's a summary of the issue:
Cookies are being set and retrieved correctly when the app is running locally.
When I deploy the app to Railway, the cookies are not appearing in the browser (checked using the browser's developer tools).
I am using JWTs to store session data in cookies.
I've checked the cookie configuration (domain, path, secure flag, etc.) and they seem fine.
I’m using [insert relevant libraries/frameworks here, e.g., Express.js, React, etc.].
Has anyone faced a similar issue when deploying to Railway with JWTs stored in cookies? Are there any specific settings or configurations I should check to make sure the cookies are being sent correctly in the deployed version?
Any help or suggestions would be greatly appreciated!
Thank you in advance!
Here's the github repository: .git (I'm using the branch called Cinagro)