-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Use browser 2020 recommendations for SameSite cookie rules #4881
Conversation
This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days.
|
This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days. |
This pull request will be closed and archived in 3 days, as there has been no activity in the last 60 days. |
This one is getting back into action on July 14: https://blog.chromium.org/2020/05/resuming-samesite-cookie-changes-in-july.html |
This pull request will be closed and archived in 3 days, as there has been no activity in the last 60 days. |
Quick update: The browsers have been rolling this out for a few weeks now, see more info here: https://www.chromium.org/updates/same-site
Request to add this pr as the rollout is now confirmed and in full swing. |
Please see new pr here: #5293 |
Discussion found here: #4752
Basically done the following:
Removed the
SameSite = null
as default. Under new rules this will cause an issue (see point 2).SameSite = blank
. Under new rules will becomeSameSite = None
.Cookies are made up of two main groups
First-party
andThird-party
.3.a).
First-party
cookies are set to strict or lax. Strict has an extra layer of security and I have been running October websites between 1-2 years will zero problems with Strict. (Our company has over 300 October websites, so we have tested it in a big'ish trail for over a year).For new websites the default will be set to strict.
3.b).
Third-party
cookies are set toSameSite None
andSecure true
.Testing guide
First-Party uses flag:
chrome://flags/#same-site-by-default-cookies
Third-Party uses flag:
chrome://flags/#cookies-without-same-site-must-be-secure
Thoughts
Maybe need to update October's min php version to 7.3 or above with regards to SameSite support.
Note: Issue with Windows 10 and SameSite Google Chrome V80, users need to install KB4534273
See here for link: https://support.microsoft.com/en-gb/help/4534273/windows-10-update-kb4534273