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

Add BCD for FedCM extensions #20547

Merged
merged 2 commits into from
Aug 16, 2023
Merged

Conversation

chrisdavidmills
Copy link
Contributor

Summary

Chrome 116 supports various Fed CM API extensions (see ChromeStatus entry)

See my research document for more details of what the extensions are.

Test results and supporting details

Related issues

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Aug 15, 2023
}
}
},
"loginHint": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't loginHint one level deeper even? Should it be providers?

dictionary IdentityCredentialRequestOptions {
  sequence<IdentityProviderConfig> providers;
  IdentityCredentialRequestOptionsContext context = "signin";
};

dictionary IdentityProviderConfig {
  required USVString configURL;
  required USVString clientId;
  USVString nonce;
  DOMString loginHint;
};

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know what you're getting at, but most of identity.providers has been supported for as long as identity.

I could perhaps update <code>context</code> option to <code>identity.context</code>, and <code>loginHint</code> option to <code>identity.providers.loginHint</code>, but that might not render very nicely. Thoughts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think those descriptions would be helpful and I have seen longer ones, so I would go for it!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, done!

@chrisdavidmills chrisdavidmills requested a review from Elchi3 August 16, 2023 14:49
@Elchi3 Elchi3 merged commit 4a0848c into mdn:main Aug 16, 2023
@chrisdavidmills chrisdavidmills deleted the fedcm-extensions branch August 18, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants