---
title: "OneLogin Integration"
description: "Manage OneLogin list users, get user, create user, list roles, list apps"
---
The OneLogin integration provides access to manage OneLogin list users, get user, create user, list roles, list apps through the Integrate MCP server.

## Installation

The OneLogin integration is included with the SDK:

```typescript
import { oneloginIntegration } from "integrate-sdk/server";
```

## Setup

### 1. Create an OneLogin OAuth App

1. Create an OAuth application for OneLogin
2. Configure your redirect URI
3. Note your Client ID and Client Secret

### 2. Configure the Integration on Your Server

Add the OneLogin integration to your server configuration. The integration automatically reads `ONELOGIN_CLIENT_ID` and `ONELOGIN_CLIENT_SECRET` from your environment variables:

```typescript
import { createMCPServer, oneloginIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    oneloginIntegration({
      scopes: ["openid", "profile", "manage:all"], // Optional
    }),
  ],
});
```

You can override the environment variables by passing explicit values:

```typescript
oneloginIntegration({
  clientId: process.env.CUSTOM_ONELOGIN_ID,
  clientSecret: process.env.CUSTOM_ONELOGIN_SECRET,
      scopes: ["openid", "profile", "manage:all"], // Optional
});
```

### 3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

```typescript
import { client } from "integrate-sdk";

await client.authorize("onelogin");
const result = await client.onelogin.listUsers({
  region: "value",
});

console.log(result);
```

If you're using a custom client, add the integration to the integrations array:

```typescript
import { createMCPClient, oneloginIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [oneloginIntegration()],
});
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/onelogin.ts"
  name="OneloginIntegrationConfig"
/>


## Default Scopes

These defaults are applied unless you override `scopes` in the integration config:

- `openid`
- `profile`
- `manage:all`

## Tools

### `onelogin_list_users`

List users

<AutoTypeTable
  path="generated/tool-params/onelogin.ts"
  name="OneloginListUsersParams"
/>

### `onelogin_get_user`

Get user

<AutoTypeTable
  path="generated/tool-params/onelogin.ts"
  name="OneloginGetUserParams"
/>

### `onelogin_create_user`

Create user

<AutoTypeTable
  path="generated/tool-params/onelogin.ts"
  name="OneloginCreateUserParams"
/>

### `onelogin_list_roles`

List roles

<AutoTypeTable
  path="generated/tool-params/onelogin.ts"
  name="OneloginListRolesParams"
/>

### `onelogin_list_apps`

List apps

<AutoTypeTable
  path="generated/tool-params/onelogin.ts"
  name="OneloginListAppsParams"
/>

### `onelogin_list_events`

List events

<AutoTypeTable
  path="generated/tool-params/onelogin.ts"
  name="OneloginListEventsParams"
/>

## Notes

- Category: Identity & Access
- Authentication mode: OAuth
