ASAuthorization Errors (1001, 1004) Consistently Preventing Passkey Registration on iOS 17.5.1

Hi Apple Developer Community,

I'm encountering a persistent issue with Passkey registration on certain iOS devices running iOS 17.5.1. Specifically, the registration process consistently fails with either ASAuthorizationError 1001 (ASAuthorizationErrorCanceled) or ASAuthorizationError 1004 (ASAuthorizationErrorNotHandled).

Details:

Devices: iPhone SE (2nd generation), iPhone 13 Pro OS: iOS 17.5.1 Errors: ASAuthorizationError 1001, ASAuthorizationError 1004 I've followed Apple's guidelines for implementing Passkeys and verified that the devices meet the necessary requirements

PS: During Apple's App Review process, the reviewer has encountered a consistent issue with Passkey registration failing with ASAuthorizationError 1001 or 1004. However, in our extensive internal testing with 75 users, we have not been able to replicate this issue

We are seeking assistance from the Apple Review team to investigate the cause of this issue, as it is currently blocking our app's approval

Answered by Systems Engineer in 793254022

Error 1001 is ASAuthorizationErrorCanceled. For registration, this should only happen if someone manually cancels from the system registration sheet. For assertion, this can also happen if the user has no credentials available that match the request.

Error 1004 is ASAuthorizationErrorFailed. This generally means there's something wrong with the request or the app's configuration.

If you inspect the description from these errors, they should provide more info. It's hard to say what might be happening without knowing more about the specific errors.

Error 1001 is ASAuthorizationErrorCanceled. For registration, this should only happen if someone manually cancels from the system registration sheet. For assertion, this can also happen if the user has no credentials available that match the request.

Error 1004 is ASAuthorizationErrorFailed. This generally means there's something wrong with the request or the app's configuration.

If you inspect the description from these errors, they should provide more info. It's hard to say what might be happening without knowing more about the specific errors.

So far in our experience, we are getting 1004 error once or twice per 100 users, more than 99% of the users are able to register a PassKey without any issues

Why does this error crop up occasionally ? We also had a case where trying again at a later time, automatically resolved the issue

Any updates on this? I just got my app not approved for release because of this issue. Could it be that some users are on different continents, and there is a CDN miss?

Same issue mentioned here.

ASAuthorization Errors (1001, 1004) Consistently Preventing Passkey Registration on iOS 17.5.1
 
 
Q