Skip to content

Commit

Permalink
chore: Update mTLS example related information
Browse files Browse the repository at this point in the history
  • Loading branch information
gyaneshgouraw-okta committed Apr 30, 2024
1 parent b35f089 commit 5a64342
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@ const { data: tokens } = await auth.passwordless.loginWithEmail({

### mTLS request

Refer mTLS documentation for more info - [Link](https://auth0.com/docs/get-started/authentication-and-authorization-flow/authenticate-with-mtls)

```js
import { AuthenticationClient } from 'auth0';

const auth = new AuthenticationClient({
domain: '{YOUR_TENANT_AND REGION}.auth0.com',
domain: 'mtls.{YOUR_TENANT_AND REGION}.auth0.com',
clientId: '{YOUR_CLIENT_ID}',
agent: new https.Agent({ ... }),
});
Expand Down

0 comments on commit 5a64342

Please sign in to comment.