MetorialDocs

Set up One Login in Metorial for Claude, ChatGPT and Cursor

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

To give your team One Login in Claude, ChatGPT, Cursor and other AI clients, an admin shares the One Login integration in a Metorial portal, and each person connects with client credentials. Agents can read and manage OneLogin users, roles and SSO applications, inspect native groups and audit events, and enroll or verify supported MFA factors using tenant-bound API credentials. The integration has 19 tools, 11 read-only, 5 write and 3 destructive, plus 2 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
Client CredentialsCustom credentialsclientId, clientSecret and subdomain

Client Credentials

To connect, a person enters these values:

  • clientId: OneLogin API Client ID
  • clientSecret: OneLogin API Client Secret
  • subdomain: Your OneLogin subdomain (e.g., "mycompany")

Setup settings

Setup also asks for:

  • subdomain: Your OneLogin account subdomain (e.g., "mycompany" for mycompany.onelogin.com)

Admin: share One Login 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 One Login. 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 One Login.

Choose who gets it

Add the access groups that should see One Login. 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 One Login integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "one login"

Employee: connect One Login

In the portal

Open One Login in the catalog

Sign in to your portal and open One Login. The status reads Available.

Authenticate

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

Confirm

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

With the CLI

metorial catalog search "one login"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your One Login 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 "one login"
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 11 read-only tools, such as get_app and get_role, and lose the 5 write tools, such as create_user or update_user, and the 3 destructive tools, such as manage_app or 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 "one login"
metorial tools <integration-id>
metorial call <integration-id> list_groups -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_groups takes no input. It lists one native page of groups in OneLogin.

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

Tools

Read-only tools (11)

  • list_apps: List SSO-connected applications in OneLogin.
  • get_mfa_factors: Retrieve MFA information for a user including both available (unenrolled) factors and enrolled devices. Needs userId.
  • get_app: Retrieve detailed information about a specific OneLogin application by its ID. Needs appId.
  • list_events: Query historical events from your OneLogin account for audit logging, compliance, and reporting.
  • list_users: Search and list users in the OneLogin directory.
  • list_roles: List roles in OneLogin.
  • get_user: Retrieve detailed information about a specific OneLogin user by their ID. Needs userId.
  • get_event_types: Retrieve all available event types from OneLogin.
  • list_groups: List one native page of groups in OneLogin.
  • get_group: Read one exact OneLogin group with its native policy, users and administrators.
  • get_role: Read the native base role by its exact numeric ID.

Write tools (5)

  • create_user: Create a new user in the OneLogin directory.
  • update_user: Update an existing user's profile in OneLogin. Needs userId.
  • manage_user_roles: Assign or remove roles from a OneLogin user. Needs userId, action and roleIds.
  • verify_mfa_factor: Verify an MFA factor enrollment by submitting the OTP code. Needs userId and registrationId.
  • enroll_mfa_factor: Enroll a new MFA factor for a OneLogin user. Needs userId, factorId and displayName.

Destructive tools (3)

  • manage_app: Create, update, or delete an SSO-connected application in OneLogin. Needs action.
  • manage_role: Create, update, or delete a role in OneLogin. Needs action.
  • delete_user: Permanently delete a user from the OneLogin directory. Needs userId.

Triggers

One Login has 2 triggers, which fire on events in One Login:

  • event_webhook: Receives real-time events from the OneLogin Event Broadcaster webhook.
  • account_events: [Polling fallback] Polls for new events on your OneLogin account including authentication, user lifecycle, app access, MFA, admin actions, and provisioning events.

Next steps