Skip to content
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

✨[RUM-2436] add partitioned support for third party cookies #2535

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

bcaudan
Copy link
Contributor

@bcaudan bcaudan commented Dec 20, 2023

Motivation

cf #2518, to address the phasing out of third-party cookies by google, introduce a new browser SDK config parameter allowing to configure the session cookie as partitioned.

Changes

with init configuration:

usePartitionedCrossSiteSessionCookie: true

_dd_s cookie is set with same-site=none;secure;partitioned

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d7f2131) 92.87% compared to head (7d92fa2) 92.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2535      +/-   ##
==========================================
- Coverage   92.87%   92.84%   -0.03%     
==========================================
  Files         227      227              
  Lines        6720     6726       +6     
  Branches     1476     1480       +4     
==========================================
+ Hits         6241     6245       +4     
- Misses        479      481       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bcaudan bcaudan force-pushed the bcaudan/partitioned-cookies branch from 81326db to 7d92fa2 Compare December 20, 2023 15:20
@bcaudan bcaudan marked this pull request as ready for review December 20, 2023 15:21
@bcaudan bcaudan requested review from a team as code owners December 20, 2023 15:21
@bcaudan bcaudan merged commit 672c52f into main Dec 20, 2023
17 checks passed
@bcaudan bcaudan deleted the bcaudan/partitioned-cookies branch December 20, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants