Closed ekovac closed 1 month ago
The alternative of course is to update the demonstration page to match the explainer, but it's unclear which one is correct :)
Closing this out; clarifying this probably doesn't need to be in the explainer.
:+1:, but it is good a good catch. Something like the webidl
is maybe a little out of scope for the explainer but would resolve this confusion. I'll think about including it.
@ekovac : also, FYI: here is Firefox's webidl!
Currently the explainer examples for the IdP side use
navigator.credentials.create()
to instantiate a lightweight credential before storing; this doesn't align with the demonstration page or, presumably, the prototype implementation in Firefox Nightly. In that demonstration a new IdentityCredential is created usingnew
. Is this the intention? Should both mechanisms for creating an IdentityCredential for storage be supported? Which would be more consistent with the Credential Management API family?