Dynamically change tenant AUTH0_ISSUER_BASE_URL from handleLogin

Hi good day we are trying to look into whether there are ways to dynamically change the AUTH0_ISSUER_BASE_URL at runtime
We want to change it based on the domain of the hosted app

Hi @gab.baleta,

Welcome to the Auth0 Community!

You should be able to get the hosted app’s domain and change it at runtime just before you initialize a new Auth0 instance. This way, you can add a condition to set the AUTH0_ISSUER_BASE_URL based on the hosted app’s domain.