Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TouchID and FaceID authentication #584

Open
skyshine999 opened this issue Jun 14, 2019 · 7 comments
Open

TouchID and FaceID authentication #584

skyshine999 opened this issue Jun 14, 2019 · 7 comments
Assignees

Comments

@skyshine999
Copy link

I implemented MSAL in my project. Is there an library that allow TouchID and FaceID authentication

@oldalton
Copy link
Member

Adding @brandwe to provide more info.

@michelledoyle
Copy link

michelledoyle commented Feb 7, 2020

Following. Same question.@brandwe

@ekscrypto
Copy link

Following +1

@mipetriu
Copy link
Contributor

mipetriu commented Mar 2, 2021

@ekscrypto, do you mind letting us know what scenario you're looking to achieve with touchID/faceID?

@ekscrypto
Copy link

@mipetriu Our users are issued 24hr refresh token with a sliding window of 14 days but in many cases they may study Monday-Friday; so if their session isn't used over the weekend on Monday they end up having to re-authenticate again.

What we are hoping to achieve, is on a successful interactive login, have the app asking them if they want their credentials remembered and enable TouchId/FaceID. Provided they said yes, the next time we present them with the interactive authentication form:

If their credentials are saved in the keychain
Verify with TouchID/FaceID that they are authorized
Confirm that the sign in policy is the same
Automatically fill-in/submit their credentials

Our authentication flow expects user to fill in email & password without 2FA.

@brandwe
Copy link
Contributor

brandwe commented Nov 20, 2023

So correct me if I'm wrong @mipetriu but the answer here would be for the app to prompt for Touch ID/Face ID on it's own and if successful then call currentAccount(). This is because we are always refreshing the token for that 14 day window as you indicate. It's up to the app to prompt at times that the SDK won't.

@gjmoyer
Copy link

gjmoyer commented Mar 21, 2024

I was just looking at how Face ID would even help the user. Assuming user opted into password less on their Entra ID account. When app launches it first displays a list of account(s) user previously used which they can just touch on. Then it will send prompt for user to use Face ID on authenticator app to approve, and then user is authenticated. There is no need to enter email or password. I came here looking to implement Face ID also, but now I am wondering what for? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants