Is it possible to search for users by permissions, when using the /users endpoint?
We are implementing Auth0’s role and permissions system, and are therefore debating in our team if we should “sync” permissions to app_metadata.
If this is not possible - I think the only solution is to save permissions to app_metadata. What do you do in your Auth0 implementation? Do you “sync” permissions to app_metadata? Thanks
Our backend is running Node.js + GraphQL - and I can’t stop thinking about the benefits we would have if Auth0 exposed a GraphQL management API. Then we could do awesome stuff like the following:
query users {
user_id
roles {
name
}
permissions {
name
}
}
I know from my own experience that GraphQL is not simple to implement, but the end result is just 10/10 user experience for API consumers The above query currently requires 3 REST endpoints
Now combining this with awesome filtering and cursor based pagination
I know it has been proposed before, and sounds like it could be a benefit! The best course of action I can suggest is to submit the feature request to our feedback page. It is a direct line to our product team and helps gauge interest and customer need.