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

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

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

[ad_1]

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.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here