From b5ec7acb06cc3b9291d39a3b77869076885ea7cd Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Thu, 16 Nov 2023 09:20:28 +0000 Subject: [PATCH] Fix link to examples from docs site --- README.md | 4 ++-- docs/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11e98f2cf..dc51a44a2 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ const auth0 = new AuthenticationClient({ }); ``` -See [more examples](./EXAMPLES.md#authentication-client). +See [more examples](https://github.com/auth0/node-auth0/blob/master/EXAMPLES.md#authentication-client). #### Management API Client @@ -73,7 +73,7 @@ var management = new ManagementClient({ }); ``` -See [more examples](./EXAMPLES.md#management-client). +See [more examples](https://github.com/auth0/node-auth0/blob/master/EXAMPLES.md#management-client). ## API Reference diff --git a/docs/index.html b/docs/index.html index de83e5515..6df619290 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,7 +32,7 @@

auth0

Configure the SDK

Authentication API Client

This client can be used to access Auth0's Authentication API.

import { AuthenticationClient } from 'auth0';

const auth0 = new AuthenticationClient({
domain: '{YOUR_ACCOUNT}.auth0.com',
clientId: '{OPTIONAL_CLIENT_ID}',
clientSecret: '{OPTIONAL_CLIENT_SECRET}',
});
-

See more examples.

+

See more examples.

Management API Client

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}',
}); @@ -40,7 +40,7 @@

auth0

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}',
});
-

See more examples.

+

See more examples.

API Reference