google / webauthndemo

An example Node.js Relying Party implementation of the WebAuthn specification
https://try-webauthn.appspot.com
Apache License 2.0
563 stars 123 forks source link

The ISUVPAA button reports wrong in Android Firefox #77

Closed koresar closed 4 years ago

koresar commented 4 years ago

Suggestion: Implement the ISUVPAA button using only client-side JavaScript.

cpiper commented 4 years ago

The isUVPAA button calls the API: https://www.w3.org/TR/webauthn/#isUserVerifyingPlatformAuthenticatorAvailable and is implemented in client side JS here: https://github.com/google/webauthndemo/blob/67ff392f18f8244800d9d5184219bef3c0615437/src/main/webapp/js/webauthn.js#L414

Firefox as a browser needs to expose the API, so this is probably an issue on the browser side.

koresar commented 4 years ago

Found it! Thank you

For all the others: https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable