App site association failing occasionally

Hello all - we have enabled our app users to create and sign in using their passkey. However - for some users, we get a NSLocalizedFailure reason exception that the app is not associated with the domain.

We have ensured that the endpoint /.well-known/apple-app-site-association isnt blocking any requests.

Like I said before, 90% of our users are able to successfully create and sign in with their passkey but we receive the above error for the remaining 10%.

Any suggestions/guidance on how we can resolve this would be helpful and greatly appreciated. Thank you.

Answered by Systems Engineer in 797132022

We learned there was an issue where the Associated Domains lookup could fail if it was attempted immediately after an app had been installed. This should be better starting in iOS beta 4. If you're having any more issues on beta 4 or later, please let us know through Feedback Assistant!

I am facing a similar issue while registering a PassKey, it is super rare, but we are able to reproduce it for 1 out of 100 new users

Could you share the error code that you receive, is it 1004 ?

We learned there was an issue where the Associated Domains lookup could fail if it was attempted immediately after an app had been installed. This should be better starting in iOS beta 4. If you're having any more issues on beta 4 or later, please let us know through Feedback Assistant!

Hi, We are still facing the same issue in iOS 17.7.1 as well

error_code 1004

error_domain com.apple.AuthenticationServices.AuthorizationError

error_reason Application with identifier ********* is not associated with domain ********

Hi, we can confirm App site association is failing occasionally on both iOS 17 and 18 We have hosted the AASA file in a manner that it is edge cached globally and latency should be low 2% of our new users are facing this issue? When can we expect this to be fixed ?

App site association failing occasionally
 
 
Q