w3c-fedid / FedCM

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

Create a new IdentityCredential interface to avoid breaking changes to the existing FederatedCredential #280

Closed samuelgoto closed 2 years ago

samuelgoto commented 2 years ago

Subclassing the existing FederatedCredential forces us to make backwards compatible changes to its current deployment, which is proving to be harder than we anticipated. It was worth starting from there, but it has become clear to us that extending isn't worth the cost of making backwards incompatible changes (or a deprecation).

In this PR, we introduce a new interface type, IdentityCredential, which allows us to decouple the FedCM API from the current deployment of FederatedCredential.


Preview | Diff