The Auth0 Management API is meant to be used by back-end servers or trusted parties performing administrative tasks. Generally speaking, anything that can be done through the Auth0 dashboard (and more) can also be done through this API.
Initialize your client class with a client ID, client secret and a domain.
import { ManagementClient } from 'auth0';var management = new ManagementClient({ domain: '{YOUR_TENANT_AND REGION}.auth0.com', clientId: '{YOUR_CLIENT_ID}', clientSecret: '{YOUR_CLIENT_SECRET}',});
Or, initialize your client class with an API v2 token and a domain.
import { ManagementClient } from 'auth0';var management = new ManagementClient({ domain: '{YOUR_TENANT_AND REGION}.auth0.com', token: '{YOUR_API_V2_TOKEN}',});
Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
What is Auth0?
Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?
This project is licensed under the MIT license. See the LICENSE file for more info.