Javascript Management API OrganizationManager Not Accessible

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.

Hi @arun2,

Would you let us know what error message you are seeing as well as a description of the steps you take to produce the error message so we can try to reproduce it?

Thanks,
Dave

1 Like