Search code examples
androidandroid-fingerprint-apiwebauthnsafetynet

Web Authentication: Can't Authenticate using fingerprint


I have implemented WebAuthn registration for android-safetynet. Where I can register using my fingerprint. However, I am not given an option to authenticate using a fingerprint.

What can be the reason behind this?

This is the Object provided to navigator.credentials.create()

This is the Object that is provided to navigator.credentials.get()


Solution

  • Can you confirm that transportsList is the actual name you're using inside your PublicKeyCredentialDescriptor? If so, that looks incorrect according to the spec which says it should be called transports:

    https://www.w3.org/TR/webauthn/#credential-dictionary

    I guess the Android implementation will always default to external transports unless you explicitly provide transports: ["internal"]