Questions tagged [localauthentication]

This tag should be used for questions related to the LocalAuthentication framework provided in iOS and macOS.

87 questions
1
vote
1 answer

iOS 11.2 - Local Authentication - Type 'LABiometryType' has no member 'typeFaceID'

I've added face-id support/code for integration in my app, which was working fine with Xcode 9.1 & iOS 11.1. But the same is showing an error with iOS 11.2 and Swift 4.0 in Xcode 9.2 Beta 2 Code I've in my app: if #available(iOS 11.0, *) { …
Krunal
  • 77,632
  • 48
  • 245
  • 261
1
vote
0 answers

Face ID auth freezes application after canEvaluatePolicy call

In my application, I attempt to login with Face ID using evaluatePolicy, and after 1 or 2 logins, I get an error in the callback. In that error, I call an async completion handler which calls another and eventually it calls canEvaluatePolicy. My app…
tfrank377
  • 1,858
  • 2
  • 22
  • 34
1
vote
0 answers

Prompt Touch ID without passcode fallback before SecItemAdd in Keychain

I would like to prompt Touch ID without passcode fallback before allowing the user to store in the keychain. I know that setting SecAccessControlCreateFlags.touchIDCurrentSet when storing will force this to happen when the user asks for an item in…
Jefe55
  • 23
  • 1
  • 6
1
vote
1 answer

Integrate fingerprint with remote login authentication

I am aware how to use LocalAuthentication framework for authenticating a user in a app. What I have in mind is, how to integrate this with server login api ? From this answer, I cannot get data of fingerprint. So firstly is it possible to use…
Nitish
  • 13,845
  • 28
  • 135
  • 263
0
votes
0 answers

Flutter local_auth package: number of failed attempts to login

I am using local_auth package in Flutter, where i am using mostly finger print as a biometric way to authenticate and login. I noticed local_auth has a built-in mechanism of only 5 wrong attempts to login. After fifth failed try - we have to use our…
RobEleven
  • 29
  • 3
0
votes
1 answer

How to determine available biometric authentication types in Dart and Flutter?

I need to determine the available authentication methods for mobile devices (iOS and Android), but local_auth leaves some features to be desired. Specifically, the issue I am facing is that all attempts using the local_auth package return…
0
votes
0 answers

Implementing Biometric Authentication in Flutter with GetX Controller

Step 1: Add the local_auth and get package Open your project’s pubspec.yaml file and add the local_auth and get dependency under the dependencies section: dependencies: flutter: sdk: flutter local_auth: ^2.1.6 get: ^4.6.5 Run flutter pub…
0
votes
0 answers

Can we enable local authentication in a React SPA which already supports Azure AD login?

I have a React SPA which authenticates users using msal-react. So far, the Azure AD authentication is working fine but now I need to enable local authentication. The flow will be somewhat like below: User enters the login page url. A form loads…
0
votes
0 answers

why passport js login local authentication is not working in node js?

I tried very much , it's been more than a month that passport js local authentication is not authenticating or not working. I sent login data from React through axios. How to do login properly and print "logged in" in console. Sigin.jsx React page…
0
votes
0 answers

When image picker opens local authentication popup appears in flutter

Im using both image picker and local auth plugins in a flutter project. when im picking images with image_picker plugin (technically it pauses app lifecycle) , local authentication is required to continue. because i've set as follows @override …
0
votes
1 answer

local_auth iOS (Flutter)

Flutter local_auth didn't return platform exception when biometrics and passcode are disable for iOS. I have a functionality where if biometrics and passcode are disable, I will use another function for authentication but it only works on Android…
JRV
  • 1
  • 1
0
votes
0 answers

Flutter Try-Catch block is not catching errors in local_auth plugin

I am calling LocalAuth.Authenticate() when a button is pressed. I tried to run the app with no Passcode/PIN set and therefore it should raise a "NotAvailable" error. But this error is not caught by the try-catch block and instead just outputs the…
0
votes
0 answers

mobile PIN based authentication for mobile app in flutter with authnitication

I need to build a mobile app where i need to first register a user by phone number followed by setting up a 4 digit PIN. Next time when user logs in user can directly input the set 4 digit PIN and logs in on the app. How can i implement it with…
0
votes
1 answer

Don't check face Id scan in local_auth package flutter

How to disable face Id scan in local_auth flutter for Android. Athenticate with only fingerprint. Or can i do it on native Android side On android settings if registered FaceID and Fingerprint by default it's check faceid but i won't use only…
0
votes
1 answer

iOS getting `biometryNotAvailable` error when device supports biometry

If user doesn't opts to use Face ID when presented with permission dialog, I'm getting biometryNotAvailable error on calling canEvaluatePolicy(_:error:). As per apple's docs, we should get it when device doesn't supports biometry. Im testing it on…
iAmd
  • 812
  • 1
  • 12
  • 22