I’m trying to use firebase email authentication and enable biometrics.
The solution I am able to come to is:
- enable biometrics and get the fingerprint token
- encrypt the user’s
username+password
with this token - store the encrypted
username+password
in app storage - when user authenticates using biometrics, app decrypts stored
username+password
and logs in firebase.
The issue is of-course the difficult choice of storing encrypted username+password
locally.
Is there any better choice like
-
saving the token in a server?
-
saving an encrypted firebase token instead of
username+password
?
How do professional apps do it with firebase?
thank you for reply…