You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means we can't distinguish between SameSite=None and no SameSite declaration at all.
This causes problems when attempting to set a default SameSite that is not 'none'. For example, when trying to emulate the behavior of Chrome and Firefox (both of which are moving towards SameSite=Lax as the default for an unspecified SameSite attribute), it's impossible to tell if the default behavior should be applied, or if the Set-Cookie explicitly passed None, because both result in sameSite: 'none'.
For now, I'm using a workaround like this to determine if SameSite is really unspecified or if it's explicitly None:
Currently, both of these calls will result in a cookie with
sameSite: 'none'
:This means we can't distinguish between
SameSite=None
and no SameSite declaration at all.This causes problems when attempting to set a default
SameSite
that is not 'none'. For example, when trying to emulate the behavior of Chrome and Firefox (both of which are moving towardsSameSite=Lax
as the default for an unspecifiedSameSite
attribute), it's impossible to tell if the default behavior should be applied, or if theSet-Cookie
explicitly passedNone
, because both result insameSite: 'none'
.For now, I'm using a workaround like this to determine if SameSite is really unspecified or if it's explicitly
None
:The text was updated successfully, but these errors were encountered: