Handling Multi-Tenancy in Auth0: A React Provider Dilemma

Suppose you’re building a React application that serves two distinct tenants(ex: lets say that i have store1.com and store2.com now i want in store1.com to have to signup and logins buttons one to signup/login in store1.com and the other to store2.com). Each tenant has its own configuration, including different Auth0 settings such as client IDs, secrets, and redirect URIs. How can you seamlessly switch between these configurations based on the user’s context?
note that i am using auth0 react provider which accepts only one tenant configuration.