Hey Charlie,
I think your best bet would be to clear the “Email Domains” list in your connections settings. That should make the selection of connection a manual process. This link covers a few options for accomplishing this task.
https://auth0.com/docs/protocols/saml/saml-configuration/selecting-between-multiple-idp
That being said, we don’t currently recommend using the same Domain for two Auth0 Connections, if possible it’s best to use a separate Domain per Auth0 Connection.
Using the same domain for two connections can currently lead to a confusing Users listing in the dashboard depending on your connection type. In the situation where a user logs in to both domains, you would end up with one user record for each connection (as expected). But the links to view the user’s details could both pull up the same details for whichever user was created first. So you might click on User1/Connection2 and be taken to User1/Connection1 detail page.
The view from the Management API is better, but still a bit lacking. You can see all the users for a given email address by using the Get Users By Email endpoint. Again, even that does not expose their unique identifiers, but you will see a different identities array, logins_count, and various timestamps for each user.
This all has to do with how we currently create user_ids and admittedly is not ideal. We have an ongoing engineering effort to solve for this but unfortunately, I don’t have an ETA on when that project will be completed.
If you let me know specifically what type of connection your using I can dig in and see if you’d be affected by this issue.
Regards,
Matt Maddex
Technical Support Engineer