admin管理员组文章数量:1356734
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)
本文标签:
版权声明:本文标题:deployment - Cookies not appearing when deploying app to Railway, but work locally (using JWT) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743966383a2569961.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论