Skip to content

Commit

Permalink
Enable CHIPS - partitioned auth cookie for 3rd party use
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Jun 28, 2024
1 parent 9990714 commit 868f3e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/core/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ export const makeConfig = (env: EnvironmentService) =>
secure: true,
// Allow 3rd party (other domains)
sameSite: 'none',
// Don't share cookie value between top level domains.
// Required for 3rd party use.
partitioned: true,
};
})();

Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3429,11 +3429,11 @@ __metadata:
linkType: hard

"@types/cookie-parser@npm:^1.4.5":
version: 1.4.5
resolution: "@types/cookie-parser@npm:1.4.5"
version: 1.4.7
resolution: "@types/cookie-parser@npm:1.4.7"
dependencies:
"@types/express": "npm:*"
checksum: 10c0/6828de5179fbe69dab7d5ff16890dc728102941ecdcb7a295bfb0645cdd6abcc8cc17854d57f4001ed778b08d4c51961d1c5c2ea1a4643ae90d3ff22588567c4
checksum: 10c0/af37fea5399950e59ceb2e1f25c633f3df360c4f17e8b3f26418e672fe5c926a20993b86f8e1df72cfe2c4dc8967d9a18d3d78b5c6a5f751a297d0418e5690fa
languageName: node
linkType: hard

Expand All @@ -3450,14 +3450,14 @@ __metadata:
linkType: hard

"@types/express-serve-static-core@npm:^4.17.30, @types/express-serve-static-core@npm:^4.17.33, @types/express-serve-static-core@npm:^4.17.39":
version: 4.17.39
resolution: "@types/express-serve-static-core@npm:4.17.39"
version: 4.19.5
resolution: "@types/express-serve-static-core@npm:4.19.5"
dependencies:
"@types/node": "npm:*"
"@types/qs": "npm:*"
"@types/range-parser": "npm:*"
"@types/send": "npm:*"
checksum: 10c0/b23b005fddd2ba3f7142ec9713f06b5582c7712cdf99c3419d3972364903b348a103c3264d9a761d6497140e3b89bd416454684c4bdeff206b4c59b86e96428a
checksum: 10c0/ba8d8d976ab797b2602c60e728802ff0c98a00f13d420d82770f3661b67fa36ea9d3be0b94f2ddd632afe1fbc6e41620008b01db7e4fabdd71a2beb5539b0725
languageName: node
linkType: hard

Expand Down

0 comments on commit 868f3e4

Please sign in to comment.