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

Mention SameSite cookies in accounts fetch #550

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ const credential = await navigator.credentials.get({

For fetches that are sent with cookies, unpartitioned
npm1 marked this conversation as resolved.
Show resolved Hide resolved
[SameSite](https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-the-samesite-attribute-2)=None
cookies are included. This makes it easy for an [=IDP=] to adopt the FedCM API. It doesn't introduce
security issues on the API because the [=RP=] cannot inspect the results from the fetches on its
own (e.g. the browser mediates what the [=RP=] can receive).
cookies are included. It doesn't introduce security issues on the API even when third-party cookies are otherwise
disabled because the [=RP=] cannot inspect the results from the fetches on its own (e.g. the browser mediates what
npm1 marked this conversation as resolved.
Show resolved Hide resolved
the [=RP=] can receive).

<!-- ============================================================ -->
## The connected accounts set ## {#browser-connected-accounts-set}
Expand Down Expand Up @@ -1109,7 +1109,8 @@ returns an {{IdentityProviderAccountList}}.
with [=request/mode=] set to "user-agent-no-cors". See the relevant
[pull request](https://github.com/whatwg/fetch/pull/1533) for details.

Note: This fetch should only send Same-Site=None cookies. Specifying this will require cookie layering.
Note: This fetch should only send Same-Site=None cookies. Specifying this will require
[cookie layering](https://github.com/httpwg/http-extensions/issues/2084).

1. Let |accountsList| be null.
1. [=Fetch request=] with |request| and |globalObject|, and with <var ignore>processResponseConsumeBody</var>
Expand Down
Loading