SSL Secure Set-Cookie
Hi i have my API on api.danielnoworyta.com and my client on kursy.danielnoworyta.com
My api suppose to give back set-cookie header when im hittinh
/session-auth/sign-in
but it's not
My desired cookie option is:
when i turn off secure all is working fine.
I think there is problem with SSL cert. My domain is on Vercel currently any ideas how to solve this problem?Solution:Jump to solution
look into trusting the proxy headers so that your app knows its running behind an https proxy, otherwise it thinks its running with only http and wont let you set the cookie
5 Replies
Project ID:
08d2e015-833f-4bf2-927a-9eff232fb9fa
08d2e015-833f-4bf2-927a-9eff232fb9fa
Solution
look into trusting the proxy headers so that your app knows its running behind an https proxy, otherwise it thinks its running with only http and wont let you set the cookie
where i should do this?
on railway itself? or settings on my api?
in your code