How do i obtain an id token using the management API

I want to implement a feature where a user beeing administrator (via role model) is able to obtain an id token form any other user in the database. Goal is to pretend beeing a diffrent user to check its perspective onto the data or to find errors dealing with customers.

Its essential to obtain the same idToken the user would get on authorization. Cause this defines what she or he will see.

My idea is to implement a route only admins can call to obtain idTokens to any userId. The backend has an access token for the management api.

Any help or ideas how to achieve my goal are appreciated.

Hi @j.haupt,

Welcome to the Auth0 Community!

Unfortunately, Auth0 does not support a user impersonation feature at this time.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.