-
Notifications
You must be signed in to change notification settings - Fork 72
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 third party cookie relaxations for FedCM #523
base: main
Are you sure you want to change the base?
Conversation
Based on discussion, we will need #526 first before moving forward on this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ready for another review, ptal
1. If [=connected accounts set=] [=list/contains=] |triple|, return | ||
[=compute the connection status/connected=]. | ||
1. Return [=compute the connection status/disconnected=]. | ||
1. Otherwise, if account| [=map/contains=] {{IdentityProviderAccount/approved_clients}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|account|
1. Otherwise, if account| [=map/contains=] {{IdentityProviderAccount/approved_clients}}, | ||
|account|'s {{IdentityProviderAccount/approved_clients}} [=list/contains=] |provider|'s | ||
{{IdentityProviderConfig/clientId}}, and third party cookies are available for |idpOrigin| | ||
on |rpOrigin|, return [=compute the connection status/connected=]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should call out that when connected
is returned this way, UA should not create a connection here? It does say "Prompt the user to gather explicit intent to create an account" in step 3 from the link above.
Fixes #517
Preview | Diff