diff --git a/EXAMPLES.md b/EXAMPLES.md index da01a0fa8..4f6c3e47f 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -17,6 +17,8 @@ var auth0 = new ManagementClient({ > Make sure your `clientId` is allowed to request tokens from Management API in [Auth0 Dashboard](https://manage.auth0.com/#/apis) +> Note: The domain should not include `https://` the ManagementClient will prepend that to the string. + ### Obtaining Management API Token from Node.js backend To obtain a Management API token from your node backend, you can use Client Credentials Grant using your registered Auth0 Non Interactive Clients diff --git a/README.md b/README.md index 7ac0875ea..391a66e0f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ var management = new ManagementClient({ }); ``` +> Note: The domain should not include `https://` the ManagementClient will prepend that to the string. + For other examples see the [EXAMPLES.md](https://github.com/auth0/node-auth0/blob/master/EXAMPLES.md) document. ## API Reference