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
- A portal with at least one access group
- Client credentials from Auth 0 for each person, or one set for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Client Credentials | Custom credentials | domain, 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 ApplicationclientSecret: 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:
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
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.
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 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. NeedsuserId.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. Needsaction.manage_applications: Create, update, delete, or list applications (clients) in Auth0. Needsaction.manage_organization_members: List, add, or remove members from an organization. NeedsorganizationIdandaction.create_user: Create a new user in Auth0. Needsconnection.manage_client_grants: Create, update, delete, or list client grants. Needsaction.manage_connections: Create, update, delete, or list identity provider connections. Needsaction.update_user: Update an existing user's profile, metadata, or account status. NeedsuserId.manage_resource_servers: Create, update, delete, or list API resource servers. Needsaction.manage_roles: Create, update, delete, or list roles. Needsaction.manage_user_roles: List, assign, or remove roles for a user. NeedsuserIdandaction.manage_actions: Create, update, deploy, delete, or list Auth0 Actions. Needsaction.manage_user_permissions: List, assign, or remove direct Auth0 permissions for a user. NeedsuserIdandaction.manage_organization_member_roles: List, assign, or remove roles for a user inside a specific Auth0 Organization membership. NeedsorganizationId,userIdandaction.manage_role_permissions: List, assign, or remove Auth0 permissions granted to a role. NeedsroleIdandaction.manage_log_streams: Create, update, delete, get, or list Auth0 log streams for delivering tenant logs to HTTP webhooks and supported event destinations. Needsaction.
Destructive tools (1)
delete_user: Permanently delete a user from Auth0. NeedsuserId.
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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Auth 0 there
- Tool permissions: tool filters and what employees see
- Auth 0 on metorial.com: the integration overview