<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00000cFeYL0A0Okta Classic EngineAuthenticationAnswered2025-04-02T22:12:32.000Z2025-04-02T16:38:19.000Z2025-04-02T22:12:32.000Z
iOS - Credential.store with access control biometryAny/biometryCurrentSet is throwing Error -50

Storing credentials using

```

try Credential.store(token,

security: [

.accessibility(.unlocked),

.accessControl(.biometryAny),

])

```

 

and got the error cannotSave(code: -50) . I checked for biometric authentication and it is available.I tested with EmbeddedAuth sample app and see the same issue.


  • Paul S. (Okta, Inc.)

    Hello @User17436114477627658374 (Customer)​ Thank you for posting on our Community page!

     

    This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out via devforum.okta.com to take advantage of their expertise.

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge

    Expand Post
This question is closed.
Loading
iOS - Credential.store with access control biometryAny/biometryCurrentSet is throwing Error -50