Next JS dynamic AUTH0_BASE_URL

i’m following the doc here Auth0 Next.js SDK Quickstarts: Login and everything works fine for a single domain, i have a multi tenant app and want to pass AUTH0_BASE_URL as dynamic value to UserProvider, or make the base url dynamic in general based on the current url, is there a way to do that?

1 Like