Click here to Skip to main content
15,888,240 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I am new to Ionic Cordova. I am implementing fingerprint and passcode authentication to integrate it with login API for an application. I am thinking that when first time user logs in into the app, app should be able to authenticate with username and password. Second time, user enters the app, it remembers password and user gets an option to use fingerprint instead of username + password. If he uses fingerprint to validate and if validation is successful, user can navigate to home page. Is this approach correct?

Cordova AndroidFingerprintAuth plugin will just validate user on device. But, how to verify the user on application?

What I have tried:

I have tried a sample FingerPrint application using AndroidFingerprintAuth cordova plugin. I need to integrate with login API
Posted
Updated 30-Jul-20 16:51pm

1 solution

This seems more of the program logic of authentication. You need to track if its the first time (user has ever logged in via username/password). Once you have this info as true, then you make use of fingerprint approach. If you find otherwise, lead to normal authentication flow of login.

This should get you started: Android - Login Screen - Tutorialspoint[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900