It is difficult for me to consider this as the accepted answer while the documentation literally stated that you could create a custom API with permissions.
Add API Permissions .
The dashboard generates a test token which doesn’t work but then the support desk said you should use the system-generated audience.
I saw so many questions on this topic in the community but unfortunately no luck so far.
I’m using Auth0 universal flow for user authentication which works perfectly fine. The problem comes when I try to call Auth0 Management API through our node.js backend.
I created a new API in Auth0 and added this identifier https://example-api
I also added some permissions to this API so we can then use them for with different types of user roles.
This is how I’m obtaining the access_token through Mana…
I was just testing how to delete a user using the management API v2.
1 Like