Easiest method to filter users from managment api to only those registered with a specific client_id/auth0 app

We are creating a custom user dashboard to manage users for our appliocation, and trying to find out if there is a simple method of retrieving only users who are connected to a specific auth0 application/client id, as we have several apps and would like our custom user admin dashboard to only display those connected to the specific application. I have gone through the documentation for the management-api and can’t seem to find anything related to this. Is there a way to implement this simply or does it require a complex work-around?

Hi @josiah, Welcome to the Auth0 Community!

You could look at utilizing the Management API Get Grants endpoint to return users authorized for specific applications by providing the Client ID.
I hope this information helps, thanks!

1 Like

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