Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

WebAuthn Conditional UI

more options

Hello, when initiating a request for conditional mediation with webauthn I get the following error:

TypeError: 'conditional' (value of mediation) is not a valid value for enumeration CredentialMediationRequirement.

However when asking whether it's available with `await window.PublicKeyCredential.isConditionalMediationAvailable()` it does return true. Is this a bug?

Hello, when initiating a request for conditional mediation with webauthn I get the following error: TypeError: 'conditional' (value of mediation) is not a valid value for enumeration CredentialMediationRequirement. However when asking whether it's available with `await window.PublicKeyCredential.isConditionalMediationAvailable()` it does return true. Is this a bug?

All Replies (1)

more options

Hmm, I see it in the source for Firefox 119 at https://searchfox.org/mozilla-release/source/dom/webidl/CredentialManagement.webidl#45

Do you have a CodePen or JSFiddle or other page that demonstrates the problem?

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.