drogonframework / drogonframework/drogon

Adding cookie "Partitioned" flag

Open
#2,202 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

**Is your feature request related to a problem? Please describe.**

Recently, browsers have added a new flag called `Partitioned` that allow cross-origin cookie setting on browsers where third party cookies are disabled (Safari, Firefox, future Chrome):

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#partitioned

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#partitioned_cookie

https://developer.mozilla.org/en-US/docs/Web/Privacy/Privacy_sandbox/Partitioned_cookies

**Describe the solution you'd like**

I'd love for the currently available Cookie class to support the new `Partitioned` flag.

**Describe alternatives you've considered**

It does not seem to be currently possible to set arbitrary strings as flags on Drogon cookies.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.