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

Cookie “XSRF-TOKEN” will be soon rejected #139

Open
miclill opened this issue May 16, 2020 · 1 comment
Open

Cookie “XSRF-TOKEN” will be soon rejected #139

miclill opened this issue May 16, 2020 · 1 comment

Comments

@miclill
Copy link

miclill commented May 16, 2020

My browser says:

Cookie “XSRF-TOKEN” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies

What can I do about it?

@linkRace
Copy link
Contributor

For the meantime, you can set the options of cookie to include secure:true and sameSite:'Strict'.
I can put it an update to include those by default soon.

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

No branches or pull requests

2 participants