Update client id props in <Auth0Provider>

I am implementing a flow in which I have multiple client app inside auth0 tenant. I need to update the auth0 client id dynamically once user selects their client app. As Auth0Provider wrapper is at the root level, updating the client id prop doesn’t work. Is there any option in loginWithRedirect method to pass the client id, or any other way to achieve this flow?

2 Likes

Any updates on this question? I’m trying the same thing. We have multiple applications in auth0 (to support multitenancy) and a common react application. Need a way to programmatically update the clientId. Please help