Auth0 Login Flow Failing on iOS Simulator (Works on Real Device)

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:

Resources I’ve already checked (without success):

Any ideas on what could be causing this on simulators?

Thanks in advance!

Hi @erwan_jestin,

Welcome to the Auth0 Community!

I recommend checking out our iOS Application does not Recognize Auth0 Associated Domain knowledge article, which addresses this specific error you experienced.

Let me know if anything else comes up.

Thanks,
Rueben

Yes, I’ve already checked everything, and the configuration appears to be correct.
Both the Team ID and App ID are properly set up.

The issue persists even after waiting for an extended period or attempting multiple retries.