You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our system has different Auth0 tenants for different environments: QA, Stage, Production
We would like to re-initialize our auth0 client when the user selects a different environment.
We currently do this, but discovered that Auth0 retains some settings from the first environment.
Example:
start app
select QA environment
logout
select Production environment
login
This all works until the access token expires. The call to renew the token goes to the QA environment instead of Production.
There must be a singleton or something inside auth0 that does not get cleaned up when we re-initialize the environment.
Describe the ideal solution
Auth0 client should be able to fully dispose and allow the app to create a new instance.
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the problem you'd like to have solved
Our system has different Auth0 tenants for different environments: QA, Stage, Production
We would like to re-initialize our auth0 client when the user selects a different environment.
We currently do this, but discovered that Auth0 retains some settings from the first environment.
Example:
This all works until the access token expires. The call to renew the token goes to the QA environment instead of Production.
There must be a singleton or something inside auth0 that does not get cleaned up when we re-initialize the environment.
Describe the ideal solution
Auth0 client should be able to fully dispose and allow the app to create a new instance.
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: