actix-session: Partitioned parameter

Open
#501 0 comments 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start by locating the actix-session API for cookie_secure and the session-cookie construction it affects. Add the requested cookie_partitioned(bool) option with matching behavior, then verify that the generated cookie includes the Partitioned attribute when enabled and omits it when disabled.

Written by the indexing model from the issue text.

Description

A-session C-feature

Browsers are beginning to block 3rd party cookies, using Partitioned is a way to allow per-site 3rd party cookies, for example for logins.

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

Would be nice to have a cookie_partitioned(bool) similar to how cookie_secure behaves, to set the attribute.

Dominant language
Rust
Stars
892
Forks
225
Avg merge
8h 57m
Merged PRs (30d)
33

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actix/actix-extras

All issues in actix/actix-extras

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.