Working with Touch/Face Auth ID?

Hey everyone,

So I’ve been able to incorporate Touch/Face ID within my app and it works great if there is pre-existing username/password info filled in. I’m trying to figure out the best way to go about setting up the Auth process for this, as Touch ID should only work if the user has already logged in before (so that the credentials are stored).

Would the logic be something like this?
-Setup app.currentUser() and store username/pass
-Store the username/pass locally somehow (this is the part I’m stuck on)
-If user has setup/logged in before, then allow Touch ID

1 Like

I would think you app logic, on app startup, should check whether app.curentUser() != nil - is this possible? Why do you need to store the username/password locally?