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

Add support for partitioned session cookies #5472

Open
bookernath opened this issue Apr 30, 2024 · 0 comments
Open

Add support for partitioned session cookies #5472

bookernath opened this issue Apr 30, 2024 · 0 comments
Milestone

Comments

@bookernath
Copy link

bookernath commented Apr 30, 2024

Related issue with historical context: pallets/werkzeug#2797

Partitioned cookies are now supported in Werkzeug: pallets/werkzeug#2855

It would be nice to have first-class support for the flask session cookie using the Partitioned flag to provide support for Chrome's CHIPS and allow sessions to continue to work within iframes.

Example usage might be:

app.config['SESSION_COOKIE_SAMESITE'] = "None"
app.config['SESSION_COOKIE_SECURE'] = True
app.config['SESSION_COOKIE_PARTITIONED'] = True # add this?
@davidism davidism added this to the 3.1.0 milestone Apr 30, 2024
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

No branches or pull requests

2 participants