Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SameSite = "None" not work with secure: true #130

Closed
JeRabix opened this issue Jun 9, 2021 · 1 comment
Closed

SameSite = "None" not work with secure: true #130

JeRabix opened this issue Jun 9, 2021 · 1 comment
Labels

Comments

@JeRabix
Copy link

JeRabix commented Jun 9, 2021

SameSite = "None" not work with secure: true,

Specify this in the documentation plz!!!
I lost 3 hours!!!

@dougwilson
Copy link
Contributor

dougwilson commented Jun 9, 2021

Hi @JeRabix the issue depends on which web browser and client you are using, unfortunately. There is no straight forward rules at this time to actually document. This module's readme document's the API of the module instead of trying to document every quirk with cookie handling of every client out there. The notable web browser Chrome even has a flag in the browser to change this behavior, making it that much more complicated to document. The scope of the module's readme is the module's own API.

The current cookie specification does not have the restriction where samesite cannot be none when secure is true, afaik: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants