lewis machilika
lewis machilika

Reputation: 897

Is it possible to have biometric_storage to a centralized database where it can store multiple Users Fingureprints flutter

I have a flutter app with biometric authentication, currently only works with local authentication but I wanted to have all biometric information on a centralized place eg FireStore, or any other third-party storage where all devices will be submitting their fingerprints for verification. How can I achieve that as android seems to only allow local authentication using biometric?

Upvotes: 0

Views: 1672

Answers (1)

DevDin
DevDin

Reputation: 46

You can't get access to any sort of biometric data from device. but you can do it differently.

For each user:

-> define unique id such as access token/username anything that is unique to user.

-> get the user enrolled for biometric authentication

-> on first time authentication, encrypt the unique id and post to the server & do whatever you wish to do. you can later use it for user authentication

-> in subsequent biometric authentication, fetch the previously stored encrypted id from server and decrypt it and authenticate against the user entered credentials.

Upvotes: 1

Related Questions