Hi!
I’m integrating the Auth0 login flow into my iOS application using Universal Links (useHTTPS()
), and while everything works fine on a real device (iOS 18.3), it fails on the simulator.
Here’s the error I get on all simulators:
Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=1 "Application with identifier .... is not associated with domain ..... Using HTTPS callbacks requires Associated Domains using the `webcredentials` service type for ....."
Additional context:
- Tested across multiple simulators — same error each time
- Provisioning profiles are correctly set up
- Works without issues on a physical device
- Both of the following URLs return valid output:
- https://app-site-association.cdn-apple.com/a/v1/YOUR_AUTH0_DOMAIN_OR_CUSTOM_DOMAIN
- https://YOUR_AUTH0_DOMAIN_OR_CUSTOM_DOMAIN/.well-known/apple-app-site-association
Resources I’ve already checked (without success):
- iOS Application does not Recognize Auth0 Associated Domain
- iOS Application not recognizing Auth0 Associated Domain
Any ideas on what could be causing this on simulators?
Thanks in advance!