varnishcache / varnish-devicedetect

VCL based device detection for Varnish Cache.
Other
300 stars 88 forks source link

`Set-Cookie: ..SameSite=None` on supported browser #44

Open JonathanHuot opened 4 years ago

JonathanHuot commented 4 years ago

Hi, I'm looking for sharing an existing VCL which parses User-Agent to detect if the browser supports the SameSite=None i.e. Set-Cookie: x=y; SameSite=None.

That's required to be set to allow 3rd party Cookies for the next Chrome version 80; see https://www.chromium.org/updates/same-site/incompatible-clients going mainstream in a couple of days.

I don't know if this repository is the right one, or if you have other suggestions ?

gquintard commented 4 years ago

I believe it makes sense to have it here, share away!