I'm trying to use firebase email authentication and enable biometrics.
The solution I am able to come to is:
username+password
with this tokenusername+password
in app storageusername+password
and logs in firebase.The issue is of-course the difficult choice of storing encrypted username+password
locally.
Is there any better alternative like
username+password
?How do professional apps do it with firebase?
Use Symmetric & Asymmetric keys concept with Android keystore
Follow the Salesforce Mobile SDKs strategy in using the Android Keystore (more details here:https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/auth_secure_key_storage_android.htm)
To summarize the steps :