Saturday, December 9, 2023
HomeIOS Developmentios - Preserve getting an error on macOS when making an attempt...

ios – Preserve getting an error on macOS when making an attempt to make use of Passkeys to login


I hold getting the next error when making an attempt to run Passkey check in on macOS.

Advised to not current authorization sheet: Error
Area=com.apple.AuthenticationServicesCore.AuthorizationError Code=1
“(null)”

The identical piece of code is working as anticipated on iOS.

Some extra information:

  • The affiliation file and entitlements are right and validated as every thing is engaged on iOS.
  • The app is constructed on SwiftUI and use the identical codebase for macOS and iOS
  • Validated that the presentation anchor can be right on macOS as a result of different SSO login works with the identical presentation anchor.

Undecided the place the issue is. Adopted https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys/ to get the combination.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments