-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Set the cookie attribute “SameSite = None” #1934
Comments
maybe you should see #1615 thanks! |
I checked #1615, there is no mention of None. I only see the changes for 'Lax' and 'Strict'. "None" is a constant that should be added to support the upcoming google chrome version 76. |
Is it feature merged with gin framework ? I checked the doc and there's no feature for setting SameSite attribute for cookie in Gin. |
Any updates on this? Just ran into the same issue: SameSite: http.SameSiteLaxMode works while SameSite:SameSiteNoneMode doesn't. |
#1615 merged! |
With issues:
go version: go1.12.5
gin version (or commit ref):
operating system: windows/amd64
Description
Compilation fails with the error undefined: http.SameSiteNoneMode
when I set the value of SameSite to http.SameSiteNoneMode
Golang right now supports the following values for SameSite Cookie attribute
http.SameSiteLaxMode, http.SameSiteStrictMode, http.SameSiteDefaultMode. A 4th value SameSiteNoneMode should be added to support Chrome release of version 76 in July 2019.
The text was updated successfully, but these errors were encountered: