From c7f10fe8c627fe21a4a09ded5a5e4dc9f0f417f0 Mon Sep 17 00:00:00 2001 From: John McKenna <121963036+jmckenna-settlor@users.noreply.github.com> Date: Mon, 5 Jun 2023 02:18:57 -0600 Subject: [PATCH] update docs to include note about https for managment client (#869) --- EXAMPLES.md | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) 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