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
Chrome and other browsers are phasing out third-party cookies. Many embedding applications that rely on them will need CHIPS support, as documented here: https://developer.mozilla.org/en-US/docs/Web/Privacy/Partitioned_cookies. The tl;dr is that we need to be able to add Partitioned; into our Set-Cookie headers. We already have same_site and secure cookie options that work like this (secure is, in fact, identical).
Adding partitioned: true to an ActionDispatch cookie header hash, as described above, should add Partitioned; to the resulting Set-Cookie header string.
Actual behavior
Adding partitioned: true to an ActionDispatch cookie header hash does nothing.
System configuration
Rails version: 7.0.4
Ruby version: 3.1.3
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Chrome and other browsers are phasing out third-party cookies. Many embedding applications that rely on them will need CHIPS support, as documented here: https://developer.mozilla.org/en-US/docs/Web/Privacy/Partitioned_cookies. The tl;dr is that we need to be able to add
Partitioned;
into ourSet-Cookie
headers. We already havesame_site
andsecure
cookie options that work like this (secure
is, in fact, identical).The nearest I've found documentation on this is here: https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/middleware/cookies.rb#L184 But I'm not quite sure where the cookies are actually converted into a header string, so not clear on how to add CHIPS support.
Expected behavior
Adding
partitioned: true
to an ActionDispatch cookie header hash, as described above, should addPartitioned;
to the resultingSet-Cookie
header string.Actual behavior
Adding
partitioned: true
to an ActionDispatch cookie header hash does nothing.System configuration
Rails version: 7.0.4
Ruby version: 3.1.3
The text was updated successfully, but these errors were encountered: