Can biometric authentication automatically fill authentication fields and make an api call to log in user?

Hi everyone,

I have a login screen with a username field, a password field, and a button to trigger a call to a private API route (I'm using Custom Authentication and an API Call). I send the value of each field in the body of this request. If the user payload is valid, this route returns an authentication token which I assign to the "Authentication Token" variable.

My question is:

Is it possible to retain the credentials (email/password) that were filled in during the first login in order to automatically fill these fields, call the API Login route, and retrieve the token using biometric identification?

I have already experienced this behavior in apps that I use on my iPhone. So I believe it's possible and I would like to get some hints on how to proceed. I haven't found an open topic on this issue and haven't found anything in the documentation either.

Thanks

3
3 replies