w3c-fedid / FedCM

A privacy preserving identity exchange Web API
https://w3c-fedid.github.io/FedCM/
Other
375 stars 72 forks source link

Add a disconnect method #515

Closed npm1 closed 11 months ago

npm1 commented 11 months ago

Fixes https://github.com/fedidcg/FedCM/issues/496. Adds a disconnect_endpoint and a disconnect method to allow the RP to request the IDP to disconnect a previously connected federated account. I opted for disconnect_endpoint instead of disconnection_endpoint because it sounded a bit better to me, but open to change it. The credentialed request is sent with IDP cookies but using CORS as the request mode. If no account is found or there is some other error, the user agent removes all connections associated with the RP, IDP.


Preview | Diff

npm1 commented 11 months ago

Ping

yi-gu commented 11 months ago

lgtm

samuelgoto commented 11 months ago

LGTM

@bvandersloot-mozilla WDYT?

bvandersloot-mozilla commented 11 months ago

I think I follow and LGTM.

samuelgoto commented 11 months ago

I think I follow and LGTM.

Thanks @bvandersloot-mozilla ! @npm1 i'll wait for you to resolve the last remaining bits of feedback from @TallTed and then squash and merge.