Search code examples
androidiosfirebasefirebase-authenticationfingerprint

FingerPrint authentication with Firebase


I want to develop an app that uses fingerprint authentication with firebase (Android and IOS) what I want is the authentication to take place on the firebase Database not on the phone it self(so the user's fingerprint Id must be stored in firebase) is there anyway to do it ? the fingerprint scanner does generate a unique ID for scanned fingers ?if yes can you provide me with Java code to it? Thank you


Solution

  • The Web Authentication API (also known as WebAuthn) is a new web specification written by the W3C in 2019.

    https://webauthn.guide/

    It allows for passwordless authentication using biometrics (FaceID, fingerprints, Windows Hello, etc).

    It is probably not a perfect solution for you as it does not necessarily fit into a Firebase world exactly, but with some custom backend code you can probably get it to work.