MetorialDocs

Set up Auth 0 in Metorial for Claude, ChatGPT and Cursor

Share Auth 0 with your team in Claude, ChatGPT and Cursor through Metorial: client credentials sign-in, 19 tools (3 read-only).

To give your team Auth 0 in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Auth 0 integration in a Metorial portal, and each person connects with client credentials. Agents can manage users, roles, permissions, and identity provider connections for authentication and authorization. The integration has 19 tools, 3 read-only, 15 write and 1 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Auth 0 in a portal and how each person connects
  • What Auth 0 asks for when you connect, and where to find it
  • How to keep the 3 read-only tools and reject the other 16

Before you start

Sign-in method

MethodTypeWhat a person provides
Client CredentialsCustom credentialsdomain, clientId and clientSecret

Client Credentials

To connect, a person enters these values:

  • domain: Your Auth0 tenant domain (e.g., your-tenant.auth0.com)
  • clientId: Client ID of the Machine-to-Machine Application
  • clientSecret: Client Secret of the Machine-to-Machine Application

Setup settings

Setup also asks for:

  • domain: Your Auth0 tenant domain (e.g., your-tenant.auth0.com or your-tenant.us.auth0.com)

Admin: share Auth 0 in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Auth 0. For how members connect, choose Each person connects so everyone enters their own client credentials, or Shared connection to enter the client credentials once for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Auth 0.

Choose who gets it

Add the access groups that should see Auth 0. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Auth 0 integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "auth 0"

Employee: connect Auth 0

In the portal

Open Auth 0 in the catalog

Sign in to your portal and open Auth 0. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your client credentials (domain, clientId and clientSecret).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "auth 0"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Auth 0 connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "auth 0"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 3 read-only tools, such as get_logs and get_user, and lose the 15 write tools, such as create_user or update_user, and the destructive tool delete_user.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "auth 0"
metorial tools <integration-id>
metorial call <integration-id> get_logs -d '{}'

metorial tools lists the 19 tools, minus any you rejected. get_logs takes no input. It retrieves tenant log events for authentication activity, user actions, and administrative operations.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (3)

  • search_users: Search and list users in your Auth0 tenant.
  • get_user: Retrieve a single user by their ID. Needs userId.
  • get_logs: Retrieve tenant log events for authentication activity, user actions, and administrative operations.

Write tools (15)

  • manage_organizations: Create, update, delete, or list organizations for multi-tenant B2B scenarios. Needs action.
  • manage_applications: Create, update, delete, or list applications (clients) in Auth0. Needs action.
  • manage_organization_members: List, add, or remove members from an organization. Needs organizationId and action.
  • create_user: Create a new user in Auth0. Needs connection.
  • manage_client_grants: Create, update, delete, or list client grants. Needs action.
  • manage_connections: Create, update, delete, or list identity provider connections. Needs action.
  • update_user: Update an existing user's profile, metadata, or account status. Needs userId.
  • manage_resource_servers: Create, update, delete, or list API resource servers. Needs action.
  • manage_roles: Create, update, delete, or list roles. Needs action.
  • manage_user_roles: List, assign, or remove roles for a user. Needs userId and action.
  • manage_actions: Create, update, deploy, delete, or list Auth0 Actions. Needs action.
  • manage_user_permissions: List, assign, or remove direct Auth0 permissions for a user. Needs userId and action.
  • manage_organization_member_roles: List, assign, or remove roles for a user inside a specific Auth0 Organization membership. Needs organizationId, userId and action.
  • manage_role_permissions: List, assign, or remove Auth0 permissions granted to a role. Needs roleId and action.
  • manage_log_streams: Create, update, delete, get, or list Auth0 log streams for delivering tenant logs to HTTP webhooks and supported event destinations. Needs action.

Destructive tools (1)

  • delete_user: Permanently delete a user from Auth0. Needs userId.

Triggers

Auth 0 has 1 trigger, which fire on events in Auth 0:

  • log_events: Receive Auth0 tenant log events in real-time via webhook log streams.

Next steps