How is WebAuthn conditional credential creation supposed to work

I'm trying to implement WebAuthn conditional credential creation but I'm not able to get it to work.

From this video https://www.youtube.com/watch?v=p8a6ODX1zHY I understand I should call navigator.credentials.create with "mediation: conditional" but the explainer at https://github.com/w3c/webauthn/wiki/Explainer:-Conditional-Registration-Extension also mentions a call to navigator.credentials.get with "mediation: conditional" and "extensions: { conditionalCreate: true }". The explainer seems to suggest they should be called both but for me, both calls never resolve with a credential or an error.

What am I doing wrong?

The explainer is unfortunately out of date. That document was written as part of the initial proposal for adding this feature to the WebAuthn spec, but the design changed during the feature review.

The latest spec draft with the conditional create feature can be found here: https://w3c.github.io/webauthn/#sctn-createCredential

How is WebAuthn conditional credential creation supposed to work
 
 
Q