We have an angular app that implements authentication with auth0. We use the following library versions:
We have a custom login/signup UI for which we implemented the auth0 API instead of the lock-widget.
We need to add impersonation for troubleshooting but the dashboard “Sign in as User” doesn’t work out of the box, meaning we are redirected to the frontend app but the login is not performed. This is how we setup the dashboard advanced settings:
Response mode: GET
Response type: token
Scope: openid roles name email scopes offline_access picture (these are the same we use in the option
authParams.scope of the
This is the format of redirect url generated for “client side app”:
https://dc3education.auth0.com/users/<auth0-id>/impersonate?&bewit=<bewit query param>
We want to perform the impersonation from the auth0 dashboard (not using “Impersonation API” option). We are planning to implement a custom “impersonation” login when the dashboard redirects us to the app but we are not sure what would be the best way to do it. Directions on how to implement this feature would be welcome.