> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cybreeze.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OneLogin

> Connect OneLogin to collect directory users, enrolled MFA factors, and role administrators.

OneLogin is a cloud identity provider. Connecting it lets Cybreeze read your user directory, which
MFA factors each user has enrolled, and who administers each role — evidence for identity and
access controls.

> [!TIP]
>
> **What you get**
>
> Live directory and MFA evidence without exporting CSVs — user access reviews and MFA coverage stay
> current on every sync.

## What Cybreeze collects

| Data | What it proves |
| - | - |
| Directory users | The full user list and whether each account can sign in |
| Enrolled MFA factors | Whether a user has a second factor registered |
| Role administrators | Which users hold delegated admin rights over a role |

## Before you connect

| Requirement | Detail |
| - | - |
| Auth method | **OAuth 2 client credentials** |
| You will enter | Your OneLogin **subdomain** |
| Who can connect | **OneLogin account owner or admin** |
| Scope needed | `Read Users` (`Read All` also works) |

## Setup guide

**1. Create an API credential pair**

In the OneLogin Admin Console, go to **Developers → API Credentials**, click **New Credential**,
and choose the **Read Users** scope. OneLogin shows the client id and client secret once — copy
both before closing the dialog.

**2. Find your subdomain**

It is the part of your OneLogin URL before `.onelogin.com`. If you sign in at
`https://acme.onelogin.com/portal`, your subdomain is `acme`.

**3. Connect**

In **Integrations**, open **OneLogin**, click **Connect**, and enter the subdomain, client id and
client secret in the popup.

**4. Done**

Cybreeze begins syncing your directory, MFA and role-admin data.

## Permissions

Cybreeze authenticates with OAuth 2 client credentials and makes `GET` calls only — the user
directory, each user's enrolled MFA factors, and the administrators of each role. Nothing is
created, modified or deleted in your account. `Read Users` is the smallest scope that covers all
three; `Read All` works too and grants more than Cybreeze uses.

## Good to know

> [!WARNING]
>
> **Privilege covers role admins, not account owners**
>
> OneLogin offers no way to list account owners and super users through its API, so Cybreeze reports
> delegated **role administrators** as the privileged accounts. An account owner who administers no
> role will not be flagged as privileged — review those accounts by hand in the OneLogin console.

> [!NOTE]
>
> **MFA reflects API-verifiable factors**
>
> The enrolled-factors endpoint returns the factors OneLogin can verify through its API (SMS, voice,
> email, Google Authenticator, OneLogin Protect). A user whose only factor sits outside that list
> reads as having none enrolled, so check the console before treating a low MFA number as real.

## Evidence it feeds

OneLogin can power automated [Validations](https://docs.cybreeze.io/user-guide/compliance/reference/validations-and-checks.md) for MFA coverage and user
directory/access reviews — feeding your identity and access controls. Its users also land in
Identities as provider accounts, so each one can be matched to a person.

## Useful links

* [OneLogin Admin Console](https://app.onelogin.com/)
* [OneLogin API v2 docs](https://developers.onelogin.com/api-docs/2/getting-started/dev-overview)
* [Working with API credentials](https://developers.onelogin.com/api-docs/2/getting-started/working-with-api-credentials)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.