You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/guides/auth.mdx
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,12 +62,13 @@ This guide uses [Auth0](https://auth0.com/) as the Identity Provider.
62
62
63
63
The Auth0 Connection is the method clients use to authenticate. This guide uses the default **Username-Password-Authentication** connection.
64
64
65
-
1. In your dashboard, navigate to **Authentication** -> **Database**.
66
-
1. Create the default **Username-Password-Authentication** connection. Click the **Try Connection** button to test it.
67
-
1.Copy the **Connection Identifier** at the top of the page, you need it for the next step. It should start with something like `con_`.
65
+
1. In your Auth0 dashboard, navigate to **Authentication** -> **Database**.
66
+
1. Create the default **Username-Password-Authentication** connection. Click the **Try Connection** button to test it and set up a username and password for later.
67
+
1.Back on Auth0's dashboard, copy the **Connection Identifier** at the top of the page, you'll need it soon. It should start with something like `con_`.
68
68
1. Navigate to **Applications** -> **APIs** -> **Auth0 Management API**.
69
-
1. Click the **API Explorer** tab. Copy the token value, you also need it for the next step.
70
-
1. Run the following `curl` command to promote the connection to domain-level, replacing `<CONNECTION ID>` and `<MGMT API ACCESS TOKEN>` with the values you copied in the previous steps:
69
+
1. Copy the **Identifier** for this API. It should look something like `dev-123456.us.auth0.com`, where `dev-123456` is your Auth0 tenant ID.
70
+
1. Click the **API Explorer** tab. Copy the token value, you also need it for the next command.
71
+
1. Run the following `curl` command to promote the connection to domain-level, replacing `<CONNECTION ID>`, `<AUTH0 DOMAIN>`, and `<MGMT API ACCESS TOKEN>` with the values you copied in the previous steps:
71
72
72
73
```sh
73
74
curl --request PATCH \
@@ -102,7 +103,7 @@ Configure the MCP server to use the Auth0 instance for authentication.
102
103
- read:users # Adjust scopes as needed
103
104
```
104
105
105
-
1. Replace the `<AUTH0 DOMAIN>` with your own Auth0 domain. It should look something like `dev-123456.us.auth0.com`, where `dev-123456` is your Auth0 tenant ID.
106
+
1. Replace the `<AUTH0 DOMAIN>` with your own Auth0 domain from earlier. Remember, it should look something like `dev-123456.us.auth0.com`, where `dev-123456` is your Auth0 tenant ID.
106
107
107
108
1. Replace the `<AUTH0 DEFAULT AUDIENCE>` with the matching `Identifier` you set when creating the Auth0 API. In this guide, you used `http://localhost:5000/mcp-example`.
0 commit comments