aws-amplify / amplify-ui-swift-authenticator

The Amplify UI Authenticator is a component that supports several authentiation flows using Amplify Authentication.
https://ui.docs.amplify.aws/swift/connected-components/authenticator
Apache License 2.0
15 stars 9 forks source link

Authenticator should support Biometric authentication #95

Open merbula opened 1 month ago

merbula commented 1 month ago

Hi,

Noticed that, there is a feature request open for Biometric authentication on Android side. Any actions/plans related to this on iOS side?

Thanks!

ruisebas commented 1 month ago

Hi @merbula, thanks for reaching out.

Reading the Android feature request, it's about the following:

The Authenticator could complement the sign-in experience by offering the possibility to activate and use biometrics (e.g. fingerprint) to access username and password safely (encrypted) stored in device with the help of Android KeyStore

The Authenticator for SwiftUI should already support this, i.e. autofilling passwords from the Keychain when signing in, and suggesting strong passwords when singing up.

Is it not working for you? Keep in mind there are some extra steps you need to take care on your end, as you can read in Apple's Enable Password Autofill documentation..

merbula commented 1 month ago

Autofill is already enabled and works perfectly. We were thinking about using the Face-Id for logging in. Is there need for separate Authenticator's state for Face-Id setup?

ruisebas commented 1 month ago

Thanks for the clarification.

Automatically signing in using Face ID is not currently supported, so we will mark this as a Feature Request and post any future updates here.