-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
With google now changing the default behavior of cross-site accessible cookies and forcing us to include SameSite=None property it would be beneficial to have a short-hand method for checking for browsers that are incompatible with the None value of the SameSite cookie property.
For further explanation see https://web.dev/samesite-cookies-explained/ or https://blog.chromium.org/2019/10/developers-get-ready-for-new.html
According to google the incompatible clients include the below
Versions of Chrome from Chrome 51 to Chrome 66 (inclusive on both ends). These Chrome versions will reject a cookie with
SameSite=None. This also affects older versions of Chromium-derived browsers, as well as Android WebView. This behavior was correct according to the version of the cookie specification at that time, but with the addition of the new "None" value to the specification, this behavior has been updated in Chrome 67 and newer. (Prior to Chrome 51, the SameSite attribute was ignored entirely and all cookies were treated as if they wereSameSite=None.)Versions of UC Browser on Android prior to version 12.13.2. Older versions will reject a cookie with
SameSite=None. This behavior was correct according to the version of the cookie specification at that time, but with the addition of the new "None" value to the specification, this behavior has been updated in newer versions of UC Browser.Versions of Safari and embedded browsers on MacOS 10.14 and all browsers on iOS 12. These versions will erroneously treat cookies marked with
SameSite=Noneas if they were markedSameSite=Strict. This bug has been fixed on newer versions of iOS and MacOS.