Assigning management API permissions to role

Hey there, I am building an admin dashboard where I need to have a user that is able to send invitations to, and delete members from, the organization they belong to. I am attempting to create a role and assign it the required permissions from the management API, however I can’t seem to be able to select the Management API when prompted upon assigning permissions to the role.

How can I best use the management api from my application to enable organization based member permissions? Any help is greatly appreciated :slight_smile:

Hey there!

I believe the scopes for the Auth0 Management API for a user-based flow (non Machine2Machine) are limited to what is described in the SPA documentation: Get Management API Access Tokens for Single-Page Applications

A good option would be to add your own backend/middleware to handle the business logic you need and have that service retrieve an access token for the API with scopes for itself through a ClientCredential flow.

Hope it helps!

1 Like

Thanks for helping on this one @rvdberg !

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