Cookie is set on insomnia, but not on production app
Hi, i have an application with session(server) based authentication that is not setting the cookies on the browser. Its a fullstack application so the backend is also serving the frontend. It works on development(my machine), also on build mode (my machine). I already set "trust proxy" to "true", set the domain property of the cookie, and cors. I don't know what else could be wrong :((
4 Replies
Project ID:
7d085198-ae4a-47e3-9ba9-0b1443a37050
7d085198-ae4a-47e3-9ba9-0b1443a37050
I see that Set-Cookie only appears on Insominia but not on the browser
I also doubled checked that both frontend and backend uses "withCredentials" set to true
What doesn't make sense is that i'm serving the application on the same origin
Have you tried the solutions posted here? https://discord.com/channels/713503345364697088/1134474824002064474/1135107231025729536
yes, none of them worked