Can we retrieve every user having a field in app_metadata?

Hi,

So basically we thought of using permissions but since we’ll have a lot of permissions (over the limit that auth0 has) so we can’t use it.
The other solution would be to use the app_metadata field.
So is there a way to retrieve every user that has a certain field in their app_metadata.
Which would mean searching users based on the fields of app_metadata.

Thanks in advance.

Hi @Breigner01,

Welcome to the Auth0 Community!

You can use Search for Users to find users with specific attributes. You can search metadata fields, more info on that here: User Search Query Syntax.