Admin Special access

Hello,
I want to get the information like email of all the users registered in auth0 if I login as an admin.
So the question is how to fetch the list of all users using Auth0 hook in react app.

Hi there @mgarg !

You’ll need to use the Management API one way or another - Is there a particular reason you are looking to do this from within a Hook as opposed to an Action? Here is what using the Management API from an Action looks like:

Keep us posted!

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