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

# Okta

> Connect Okta to Iru Compliance with an API token to collect directory users and groups, application assignments, MFA policies, and System Log audit evidence.

### About Okta

The **Okta** connector reads directory data, group memberships, application assignments, policies, MFA posture, and audit-related signals from your Okta org and surfaces them as artifacts in Iru Compliance. Authentication uses an **Okta API token** over the **Okta Management API**. The integration is intended for **read-only** evidence collection. Iru does not provision users or change policies in Okta beyond what your token’s admin permissions allow during API reads.

### How It Works

Okta accepts API tokens using the **SSWS** scheme:

```http theme={null}
Authorization: SSWS YOUR_API_TOKEN
```

Tokens inherit the permissions of the admin who created them. **Unused tokens expire after 30 days**; successful API calls refresh that window.

The Iru connector walks through server URLs for your tenant (production, EMEA, Gov, preview, or custom domain), then collects your **API token** on the final step. Earlier wizard steps align OAuth-related URLs where the product expects them; **SSWS token authentication** is what authorizes Management API calls for this source.

| Detail | Value |
| - | - |
| **Category** | Security |
| **Authentication** | Okta API token (`Authorization: SSWS YOUR_TOKEN`) |
| **Okta plan** | Any plan that includes Management API access you rely on |

Documentation: [Create an API token](https://developer.okta.com/docs/guides/create-an-api-token/main/), [API token management](https://help.okta.com/en-us/content/topics/security/api.htm), [Rate limits](https://developer.okta.com/docs/reference/rate-limits/).

### Prerequisites

* An Okta administrator role that can **create API tokens** (**Super Admin**, **Org Admin**, or **Read-only Admin**, depending on what your org allows for automation accounts).
* Your org’s **subdomain** or full **Okta domain** (for example `acme` if users sign in at `https://acme.okta.com`).

### Connect Okta to Iru

> [tab] Okta
>
> > [!NOTE]
> >
> > Complete this tab before you connect the source in Compliance.
>
> **1. Sign in to the Okta Admin Console**
>
> Open your org’s admin URL (for example `https://YOUR_SUBDOMAIN.okta.com/admin`) and sign in with a role that can create **API tokens** (**Super Admin**, **Org Admin**, or **Read-only Admin**, per what your org allows for automation accounts).
>
> **2. Open Security**
>
> In the left navigation, expand **Security** (or search **API** in the admin search bar).
>
> **3. Open API token management**
>
> Choose **API** → **Tokens** to open the list of existing tokens and **Create token**.
>
> **4. Create a new token**
>
> Select **Create token**, enter a name you will recognize (for example **Iru Compliance**), then confirm creation so Okta can display the secret once.
>
> **5. Copy the token immediately**
>
> Copy the token value before you close the dialog. You cannot view it again after you leave the page. Store it in a vault until you paste it into Iru.
>
> Plan for **idle expiry**: if no successful API call uses the token for **30 days**, Okta invalidates it and you must create a new token.
>
> **6. Optional network restrictions**
>
> If your environment uses fixed egress IPs, optionally attach a **network zone** policy to the token per Okta’s documentation.
>
> > [!NOTE]
> >
> > Continue on the [**Iru Compliance**](#iru-compliance) tab.

> [tab] Iru Compliance
>
> > [!NOTE]
> >
> > Finish the [**Okta**](#okta) tab first.
>
> **1. Open Sources**
>
> In Iru Compliance, on the left navigation bar, expand **Compliance** and select **Sources**.
>
> ![Left navigation: Compliance expanded, Sources selected](https://mintcdn.com/iru/tI0HDLDwHj8r9Ile/assets/media/images/iru-navigation-compliance-sources.png?fit=max\&auto=format\&n=tI0HDLDwHj8r9Ile\&q=85\&s=87dcef15fc17d2fb9a6e53f454e41710)
>
> **2. Turn on Okta**
>
> Find **Okta** (use **Category** or **Search by name or description**). On that card, turn on the **toggle**. A new tab opens the connector wizard.
>
> **3. Choose the server URL that matches your tenant**
>
> Select the row that matches where your org lives:
>
> | Environment | Base URL pattern |
> | - | - |
> | Production (US) | `https://YOUR_SUBDOMAIN.okta.com` |
> | EMEA | `https://YOUR_SUBDOMAIN.okta-emea.com` |
> | Preview / sandbox | `https://YOUR_SUBDOMAIN.oktapreview.com` |
> | US Gov | `https://YOUR_SUBDOMAIN.okta-gov.com` |
> | Custom domain | `https://YOUR_OKTA_DOMAIN` |
>
> Confirm your choice so the wizard can build the correct Management API base URL.
>
> **4. Enter subdomain and domain variables**
>
> Follow each wizard screen: enter your **subdomain** or domain values where prompted so OAuth-related URLs stay consistent with your tenant.
>
> > [!NOTE]
> >
> > Mid-wizard steps that mention OAuth URLs exist because the connector template configures endpoints completely. **SSWS token authentication** on the last step is what Iru uses for Management API reads for this source.
>
> **5. Paste the API token**
>
> On the credential step, paste your **API token** into the authorization field.
>
> **6. Finish the connection**
>
> Select **Submit API Key**. When the connection succeeds, the wizard shows **Connection Configured**.
>
> **7. Confirm the source is Active**
>
> Close the **Iru is requesting access to external services** browser tab, then return to **Compliance** → **Sources** and confirm the **Okta** card is **Active**.

### Troubleshooting

> [accordion] Nothing opens when you turn the source on
>
> Check **pop-up blocker** settings for the Iru site and try again.

> [accordion] 401 Unauthorized
>
> Verify the token string, that the admin account is still active, and that the token was not revoked.

> [accordion] Token expired
>
> Recreate the token under **Security** → **API** → **Tokens** if it has been idle for 30 days.

> [accordion] 403 Forbidden
>
> The admin profile tied to the token may lack read access to some endpoints. Confirm at least **Read-only Admin** (or equivalent) for evidence you need.

> [accordion] Wrong host / domain
>
> Disconnect and reconnect, double-checking subdomain and region (US vs EMEA vs Gov vs preview).

### Considerations

> [card] Treat API tokens like credentials
>
> Treat API tokens like credentials. Prefer a **service account** with the **minimum** admin role that still satisfies evidence requirements.

> [card] Okta applies rate limits to Management API traffic;…
>
> Okta applies **rate limits** to Management API traffic; large orgs may see longer sync times during first collection.

> [card] Iru reads data exposed by the APIs your token can…
>
> Iru reads data exposed by the APIs your token can access - it cannot override Okta entitlements you do not grant.

### Related Articles

> [card] [Sources Management](https://docs.iru.com/en/compliance/sources-management.md)
>
> Browse and manage every Compliance source.

> [card] [Getting Started With Compliance](https://docs.iru.com/en/compliance/getting-started-with-compliance.md)
>
> Frameworks, actions, and **Artifacts**.

> [card] [Iru Overview](https://docs.iru.com/en/iru/platform-overview/iru-overview.md)
>
> How Endpoint, Compliance, and Identity fit together.

> [card] [Artifacts Management](https://docs.iru.com/en/compliance/artifacts-management.md)
>
> Upload, review, and organize evidence from sources and actions.


## Related topics

- [Okta Device Trust](https://docs.iru.com/en/endpoint/integrations/okta-device-trust-main/okta-device-trust.md)
- [Passport Troubleshooting with Okta](https://docs.iru.com/en/endpoint/library/passport/okta/passport-troubleshooting-with-okta.md)
- [Passport Configuration with Okta](https://docs.iru.com/en/endpoint/library/passport/okta/passport-configuration-with-okta.md)
