Cannot maintain multiple user sessions in same browser

Problem statement

On our tenants, we have multiple applications, and these applications use different connections (e.g.: an Admin uses an enterprise connection, and regular users use a database connection).
When a user logs on to one application and then on to another, they are logged out from the first one (both applications are SPA using the React SDK). How can we manage to avoid this issue?

Cause

In testing, it appears that if both React applications use the same Auth0 domain, two separate sessions for two different user accounts cannot be maintained in the browser simultaneously.

Solution

One possible workaround would be using a custom domain for the customer-facing application and using your Auth0 canonical domain for the admin application. The different domains allow for the two sessions to exist at the same time.