> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/your-workspace/team/okta-sso.md).

# Okta SSO and SCIM Configuration

Configure Okta for AirOps: SCIM user provisioning, OAuth 2.0/OIDC single sign-on, and signing in with Okta.

Connect Okta to AirOps so your identity team manages AirOps access from Okta. There are two pieces, and you can set up either one on its own:

* **SCIM** provisions and deprovisions AirOps members automatically when you assign or unassign the app in Okta.
* **OIDC** lets workspace members sign in to AirOps with their Okta credentials.

Both live in the same Okta application. Configure them on the AirOps app you create in your Okta org, then sign in with the workspace slug.

## Configure SCIM

SCIM keeps AirOps membership in sync with Okta. When you assign a user to the AirOps app, Okta creates the AirOps membership. When you unassign or deactivate the user, Okta deactivates the membership.

{% hint style="info" %}
Okta SCIM provisioning is available on Platform plans. Contact your AirOps account team to confirm your workspace is eligible before you start.
{% endhint %}

### Before you start

You need your **workspace API key**, available in AirOps under **Settings → Workspace**. Okta sends this key as a bearer token on every SCIM request. Only Admins and Developers can see it.

### Enable SCIM on the Okta app

1. In Okta, open the AirOps application and go to the **General** tab.
2. Click **Edit** on **App Settings**.
3. Select **Enable SCIM provisioning**.
4. Confirm the app is marked as an internal application and that **App login URL** is `https://app.airops.com`.
5. Click **Save**.

{% hint style="info" %}
If **Enable SCIM provisioning** is not visible, contact Okta support to enable the feature for your org.
{% endhint %}

### Configure the provisioning connection

Go to the **Provisioning** tab, then **Integration**, and click **Configure API Integration**.

| Setting                               | Value                                                |
| ------------------------------------- | ---------------------------------------------------- |
| **SCIM connector base URL**           | `https://app.airops.com/public_api/okta_scim`        |
| **Unique identifier field for users** | `email`                                              |
| **Supported provisioning actions**    | **Push New Users** and **Push Profile Updates** only |
| **Authentication Mode**               | HTTP Header                                          |
| **Authorization**                     | Your AirOps workspace API key                        |

Click **Test Connector Configuration**, then **Save**.

### Enable the provisioning actions

On the **Provisioning** tab, open **To App** and click **Edit**. Enable:

* **Create Users**
* **Update User Attributes**
* **Deactivate Users**
* **Sync Password**

Leave the other actions disabled.

### Set the sign-on and username settings

1. On the **Sign On** tab, select **Secure Web Authentication**.
2. Set **Application username format** to **Email**.
3. Set **Update application username on** to **Create and update**.
4. Optionally enable **Password Reveal** so users can see their password. We recommend it, but it is not required.
5. Click **Save**.

Users sign in with their email as the username, so an Okta admin should set the username rather than prompting users for one.

### Default role for provisioned members

Okta SCIM creation and reactivation use the workspace's configured Okta default role. Restoring a removed membership through Okta SSO also uses the current provider default. If no default is configured, AirOps falls back to **Admin**.

Existing active members retain their assigned roles. Changing the default does not update earlier memberships, so review those separately if they should use a different role.

## Configure OIDC

OIDC handles sign-in. AirOps Okta SSO uses OAuth 2.0/OIDC, so the Okta application is a web application that uses the Authorization Code flow.

### Create the Okta app integration

1. In Okta, go to **Applications**.
2. Click **Create App Integration**.
3. Select **OIDC - OpenID Connect** as the sign-in method.
4. Select **Web Application** as the application type.
5. Click **Next**.

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-5acd08ed533ed75bd4f08c42931bf162047da317%2Fokta-sso-01-create-app-integration.png?alt=media" alt="Create an Okta OIDC app integration for AirOps"><figcaption><p>Create an OIDC app integration in Okta.</p></figcaption></figure>

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-38ddb66ef7d132b7d739ffffa56ef0382e68f6e7%2Fokta-sso-02-web-app-settings.png?alt=media" alt="Select Web Application as the Okta application type"><figcaption><p>Select Web Application for the Okta application type.</p></figcaption></figure>

### Configure the Okta app settings

Configure these settings in the **General Settings** step of the creation wizard, or later on the app's **General** tab. OIDC web apps do not have a Single Sign On tab; that tab only appears on SAML apps.

1. Set **App Integration Name** to `AirOps`.
2. Under **LOGIN**, set **Sign-in redirect URIs** to `https://app.airops.com/users/auth/okta/callback`.
3. Under **Trusted Origins**, set **Base URIs** to `https://app.airops.com`.
4. Under **Assignments**, choose the users or groups that should access AirOps.
5. Click **Save**.

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-0fbbdb6f69d1ded2eb8ffb8e9ca68a03a9cce4ee%2Fokta-sso-03-assignments.png?alt=media" alt="Configure Okta assignments for the AirOps application"><figcaption><p>Assign the AirOps application to the users or groups that need access.</p></figcaption></figure>

### Choose the Okta authorization server endpoints

AirOps asks for endpoint URLs directly. Choose the Okta authorization server your organization uses, then copy the matching URLs into AirOps.

Use the org authorization server if your Okta org does not have a custom authorization server. These URLs use your Okta domain without `/oauth2/default`.

| AirOps field      | Org authorization server URL                            |
| ----------------- | ------------------------------------------------------- |
| **Authorize URL** | `https://your-okta-domain.okta.com/oauth2/v1/authorize` |
| **Token URL**     | `https://your-okta-domain.okta.com/oauth2/v1/token`     |
| **User Info URL** | `https://your-okta-domain.okta.com/oauth2/v1/userinfo`  |

Use a custom authorization server only when your Okta org has one configured. Okta developer orgs often include the `default` custom authorization server, but some production orgs do not.

| AirOps field      | Custom authorization server URL                                 |
| ----------------- | --------------------------------------------------------------- |
| **Authorize URL** | `https://your-okta-domain.okta.com/oauth2/default/v1/authorize` |
| **Token URL**     | `https://your-okta-domain.okta.com/oauth2/default/v1/token`     |
| **User Info URL** | `https://your-okta-domain.okta.com/oauth2/default/v1/userinfo`  |

{% hint style="info" %}
If your Okta admin gives you a custom authorization server ID other than `default`, replace `default` in the custom authorization server URLs with that ID.
{% endhint %}

### Add the Okta configuration in AirOps

1. Sign in to AirOps at `https://app.airops.com`.
2. Navigate to **Settings → Single Sign On**.
3. On the **SSO Providers** page, click **Configure** on the **Okta** row.
4. Enter the Okta client credentials and endpoint URLs.
5. Click **Add**.

To edit an existing Okta configuration, open **Actions → Update Credentials** on the **Okta** row, update the fields, and click **Update**.

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-39ee14932a4fe29c64e72b1f5d133a55fb5d9ceb%2Fsso-okta-01-providers.png?alt=media" alt="SSO Providers settings with the Email and password login toggle and Configure buttons for Okta, Azure, and Rippling"><figcaption><p>Open the Single Sign On settings in AirOps.</p></figcaption></figure>

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-8a7960b5227d82d5ad001c7fda4184a0d105b47c%2Fsso-okta-02-credentials.png?alt=media" alt="Add Okta Credentials dialog with Client ID, Client Secret, Site, Authorize URL, Token URL, and User Info URL fields"><figcaption><p>Enter the Okta SSO configuration values in AirOps.</p></figcaption></figure>

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-24082f1d744b2cf4ac4ea64684921b7cc6405292%2Fsso-okta-03-save.png?alt=media" alt="Add Okta Credentials form filled in with a spaceops.okta.com site and its authorize, token, and user info URLs"><figcaption><p>Save the Okta SSO configuration.</p></figcaption></figure>

### OIDC parameters

| Field             | Value                                                                                                                                                                                                   |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Client ID**     | In Okta, navigate to **Applications → Your App** and copy the **Client ID**.                                                                                                                            |
| **Client Secret** | In Okta, navigate to **Applications → Your App** and copy the **Client Secret**.                                                                                                                        |
| **Site**          | Your Okta domain without an authorization server path, such as `https://dev-123456.okta.com`.                                                                                                           |
| **Authorize URL** | The authorize endpoint for the Okta authorization server you chose, such as `https://your-okta-domain.okta.com/oauth2/v1/authorize` or `https://your-okta-domain.okta.com/oauth2/default/v1/authorize`. |
| **Token URL**     | The token endpoint for the Okta authorization server you chose, such as `https://your-okta-domain.okta.com/oauth2/v1/token` or `https://your-okta-domain.okta.com/oauth2/default/v1/token`.             |
| **User Info URL** | The userinfo endpoint for the Okta authorization server you chose, such as `https://your-okta-domain.okta.com/oauth2/v1/userinfo` or `https://your-okta-domain.okta.com/oauth2/default/v1/userinfo`.    |

## Account Log In

After you save the Okta configuration, sign out of AirOps and go to `https://app.airops.com/users/sign_in`.

Select **Sign In With Okta**, enter your **AirOps workspace slug**, and click **Proceed**. This is your AirOps workspace slug, not your Okta domain or Okta slug. You can find it in your AirOps workspace settings.

{% hint style="info" %}
To skip entering the workspace slug manually, use `https://app.airops.com/users/sign_in?okta-workspace-slug=YOUR_WORKSPACE_SLUG`.
{% endhint %}

## Video Walkthrough

{% embed url="<https://www.loom.com/share/40208396fcba439fae71392b26090a0c?sid=4fe81aec-2a8c-401e-90c0-764cd2ed4644>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/your-workspace/team/okta-sso.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
