Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

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?

Všetky odpovede (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?