I’m trying to use the OrganizationManager within the javascript auth0 package: auth0 - npm
I get a working version of the ManagementAPI but I do not have access to the OrganizationManager.
var ManagementClient = require('auth0').ManagementClient;
var management = new ManagementClient({
token: <TOKEN>,
domain: domain,
});
I get the token from the APIS → Test page (I use a specific management api token that has Organization scope).
How do I fix this?
I got this working with the python package (GitHub - auth0/auth0-python: Auth0 SDK for Python) but the javascript package is not working.