-
Notifications
You must be signed in to change notification settings - Fork 74
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
Should FederatedCredential be FederatedCredential2? #237
Comments
I had a conversation with @domenic and some thoughts on this issue (and why it might not be ideal after all) came out of that:
|
@samuelgoto may have thoughts too but the
Well, the name does imply that but if the goal is to have a different interface so that |
We renamed to |
Credential Management L1 is still a draft specification. Outside of WPT code and documentation, I found less than 10 public repositories on Github that are using
We should consider having FedCM replace the existing FederatedCredential interface in CredMan. If that is not feasible, I'd propose |
Currently the Credential Management spec has a
FederatedCredential
object defined. The FedCM spec is extending that definition but also has different formats for things like theproviders
entry in thefederated
dictionary. This overriding and patching may make it more difficult if we wanted to deprecateFederatedCredential
in the future and it makes the feature detection more complicated as we have to look for specific methods on the prototype ofFederatedCredential
.Should we rename
FederatedCredential
toFederatedCredential2
and use something likefederated2
as the entry intoget
to determine which type of credential is being provided? (get
could also inspect the contents of thefederated
entries to determine which of the two types to create as the Credential ManagementFederatedCredential
provides a sequence of strings for providers and FedCM provides a sequence ofFederatedIdentityProvider
objects.)The text was updated successfully, but these errors were encountered: