TouchID for user login with Parse.com database in iOS 8.0

Hi everyone, I want to make a small question ... I use parse.com in my application. My user login procedure is to use parse.com with the classic name and password of the method that the user enters in two text fields.

So far, everything works, but I wanted to implement an additional login method using TouchID, but it becomes difficult to implement it with the parsec, because touchID determines the impression, and the user is not in the Parse.com database, so when using TouchID, my application returns (correctly ) error, because it does not recognize the user among those present in the database ...

Have any of you managed to use the TouchID biometric method to log in using parse.com ??? or do you know if there is a way that will allow me to do this?

Thanks everyone

0
ios login touch-id
source share
1 answer

TouchId is used only to authenticate the user on the device - it does not identify the user. You may have fingerprints for different people credited to the phone, but the identifier is not stored with them - these are just valid credentials for authentication on the device.

You can use touchId to retrieve items from the key fob, so you can save the Parse user ID and password in the key chain (the user will need to enter them for the first time), and then use touchID to unlock these saved credentials for future authentication.

Apple has sample code that demonstrates the use of touchID for keychain authentication and local authentication

+6
source share

All Articles