Closed eberbis closed 4 years ago
👍 would be great to get this merged soon!
I'm going to comment here in addition to the +1.
Chrome is going to start defaulting SameSite to Lax
in 14 days.
There will probably be more people winding their way in here this week as we scramble to patch this from the Ops side of things.
Thanks for your PR, merged now! Sorry for the slow reply.
Thanks a lot @jdesgats!
@jdesgats when are you planning to release this in Luarocks?
I can tag a release, but we don't officially distribute modules on Luarocks at this time: the module is owned by @calio.
@ElvinEfendi I added a SCM rockspec in the repo, so you should be able to install the master version with
luarocks install https://raw.githubusercontent.com/cloudflare/lua-resty-cookie/master/rockspecs/lua-resty-cookie-scm-1.rockspec
Following https://github.com/cloudflare/lua-resty-cookie/pull/12, this PR allows for cookies to have their attribute
SameSite
set toNone
.See: https://tools.ietf.org/html/draft-west-first-party-cookies-07
Chrome will be releasing these changes on February: https://blog.chromium.org/2019/10/developers-get-ready-for-new.html