Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS/Android finger print - authentication server side

I'm trying to wrap my head around how to implement iOS/Android finger print to authenticate a user.

From what I understand, triggering the finger print dialog is just an additional security?

So a typical on boarding process would be something like this:

  1. User downloads the app.
  2. User registers/signs in, and get a token back from the server.
  3. On certain actions where we need additional security, trigger finger print dialog.
  4. If fingerprint is OK - do actual REST call with token from step 2.

Am I missing something?

like image 703
fortysixandtwo Avatar asked Oct 22 '25 23:10

fortysixandtwo


1 Answers

Please read one of these blogs (there's many others):

  • http://www.techotopia.com/index.php/An_Android_Fingerprint_Authentication_Tutorial

  • https://www.survivingwithandroid.com/2016/12/android-fingerprint-authentication-tutorial.html

Process have to be:

  1. User must have already register fingerprint and choose unlock device with fingerprint in Android Settings app.
  2. User downloads the app.
  3. User registers/signs in with fingerprint check
  4. App generate a local token and store in secure (secure element) keystore on device
  5. this local app token is sent to server
  6. On certain actions where we need additional security, trigger finger print dialog.
  7. If fingerprint is OK, app ahs access to secure key store to get token. App can use this token to do REST call from step 4.
like image 179
LaurentY Avatar answered Oct 25 '25 12:10

LaurentY



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!