samesite-examples
samesite-examples copied to clipboard
[Question] Cross-site cookie between HTTP and HTTPS?
The frontend of my website hosted on the surge.sh, which uses HTTP. The backend of my website hosted on Heroku, which uses HTTPS.
The website was working fine a few months ago.
Now, the server could not read the cookie from the request anymore. By investigating, I believe the samesite and secure cookie policy disable this pattern.
Is this the issue? If yes, any workaround or recommendation?
I am also having the same problem, Did you get the answer?
I am also having the same problem, Did you get the answer?
Using cookie attributes sameSite (None) and secure (true) should resolve the issue.