Skip to content

Biometrics Not Working #102

@mdhornet90

Description

@mdhornet90

Describe the bug?

I'm attempting to use the iOS SDK to enable biometric login and it always prompts me for my passcode instead of FaceID.

What is expected to happen?

The call to secureStorage.getData prompts for FaceID to unlock the phone

What is the actual behavior?

The call to secureStorage.getData prompts me for my passcode to unlock the phone

Reproduction Steps?

  1. Add a new line of code on line 72 of SignInViewController: print(self.secureStorage.isTouchIDSupported() || self.secureStorage.isFaceIDSupported())
  2. Install the OktaSignInAndStorage project on your phone
  3. Sign into your Okta tenant, verify that "true" is printed in the console
  4. Tap on "tokens", a view that should retrieve secure storage leveraging biometrics.

Additional Information?

No response

SDK Version(s)

okta-storage-swift@master
okta-oidc-ios@master

Build Information

Xcode version: 13.3 (13E113)
iPhone 12, v15.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions