OneLogin Integration
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:
import { oneloginIntegration } from "integrate-sdk/server";Setup
1. Create an OneLogin OAuth App
- Create an OAuth application for OneLogin
- Configure your redirect URI
- 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:
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:
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:
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:
import { createMCPClient, oneloginIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [oneloginIntegration()],
});Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
openidprofilemanage:all
Tools
onelogin_list_users
List users
Prop
Type
onelogin_get_user
Get user
Prop
Type
onelogin_create_user
Create user
Prop
Type
onelogin_list_roles
List roles
Prop
Type
onelogin_list_apps
List apps
Prop
Type
onelogin_list_events
List events
Prop
Type
Notes
- Category: Identity & Access
- Authentication mode: OAuth