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
Percy
Percy14mo ago
Project ID: 7d085198-ae4a-47e3-9ba9-0b1443a37050
Samuel Sousa
Samuel Sousa14mo ago
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
Samuel Sousa
Samuel Sousa14mo ago
yes, none of them worked
Want results from more Discord servers?
Add your server