-
Notifications
You must be signed in to change notification settings - Fork 51
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
Google phasing out third-party cookies #213
Comments
Currently unimplemented in upstream: jshttp/cookie#147 |
We should fork upstream and add this feature. |
I could, but really it's better if we fork. |
Weird, I can post comments
I'm down to forking for various reasons, just letting you know that a PR for |
We had cookie integrated in fastify-cookie and we reverted back to cookie. @dougwilson |
Why would I ban you? Not really familiar with your name. |
That's just a bad GitHub error. It happens to me occasionally on various repos, including Fastify ones. You have to wait and try again later. |
@nicob-29 I've opened up fastify/fastify-cookie#260 to move back to use our fork. Would you like to add that feature to fastify-cookie directly? |
Thanks @mcollina |
Maybe we can pull that change as well while keeping the fork if there are performance improvements we can do I have’t gone through its source code yet |
Hi |
It’s fixed Make sure to pass partitioned:true to cookie options |
We use https://www.npmjs.com/package/@fastify/session#cookie to set the cookie information. |
I see, yeah will do |
When do you plan to release this version about partitioned cookie ? |
Just released |
@gurgunday Previously on @10.0.2 The fix is not only impact the interface, the class cookie https://github.com/fastify/session/blob/master/lib/cookie.js should be modified too to support partitioned Something like that
} set expires (date) { get expires () { set maxAge (ms) { get maxAge () { toJSON () { |
You're right - seems like I needed to import CookieSerializeOptions and export it back while omitting its Or we can just extend Super busy right now, so a PR from users would be very welcome |
@gurgunday I created a new one #226 (I fixed merge issue) |
Prerequisites
🚀 Feature Proposal
Hi
Google plans soon to activate phasing out third-party cookies
See Third-Party Cookies doc: https://privacysandbox.com/open-web/#the-privacy-sandbox-timeline
Doc about phasing out third-party cookies: https://developer.chrome.com/en/docs/privacy-sandbox/third-party-cookie-phase-out/#partitioned-cookies
This feature request requires the possibility to add "Partitioned" to the cookie like Secure.
Motivation
Soon activation from Google
Google plans soon to activate phasing out third-party cookies (Search Third-Party Cookies doc: https://privacysandbox.com/open-web/#the-privacy-sandbox-timeline)
Example
Extend interface CookieOptions to allow the possibility to set Partioned.
I think that request some dependency on https://github.com/jshttp/cookie
The text was updated successfully, but these errors were encountered: