> ## 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.

# SCIM Directory Integration with Okta

> Configure SCIM directory integration between Okta and Iru Endpoint. Automatically provision and deprovision users and groups via the SCIM protocol.

### About SCIM Directory Integration with Okta

SCIM Directory Integration with Okta in Iru Endpoint allows you to set up SCIM-based user directory synchronization between Okta and Iru Endpoint, enabling automatic user and group provisioning and deprovisioning.

### How It Works

The SCIM integration creates a secure connection between Okta and Iru Endpoint, enabling automatic synchronization of user and group data. When users or groups are added, modified, or removed in Okta, these changes are automatically reflected in Iru Endpoint through the SCIM protocol.

### Prerequisites

* Ensure you’re using Okta’s **Advanced Lifecycle Management** plan, which supports built-in, standards-based provisioning for SCIM.
* Be sure to review the supported user and group attributes listed in the [SCIM Directory Integration](/en/endpoint/integrations/scim/scim-directory-integration#scim-schema-and-supported-attributes) article.

<Tabs>
  <Tab title="Iru Endpoint">
    ### Get the SCIM Token and API URL

    Complete these steps in Iru Endpoint first. You will need the SCIM access token and API URL when configuring Okta. For full details, see the [SCIM Directory Integration](/en/endpoint/integrations/scim/scim-directory-integration) article.

    <Steps>
      <Step title="Open Integrations">
        In Iru Endpoint, click your name at the bottom of the left navigation, then select **Integrations**.

        <Frame>
          <img src="https://mintcdn.com/iru/8BYPjuKZa-zyEEf_/assets/media/images/iru-nav-integrations.png?fit=max&auto=format&n=8BYPjuKZa-zyEEf_&q=85&s=e89fa7e9b81ac504a6f519608e10b8a3" alt="Screenshot of the account menu with Integrations option highlighted" width="562" height="1040" data-path="assets/media/images/iru-nav-integrations.png" />
        </Frame>
      </Step>

      <Step title="Discover Integrations">
        Click **Discover integrations** in the upper-right of the Integrations page.
      </Step>

      <Step title="Add SCIM Protocol">
        On the **SCIM protocol** tile, click **Add and configure**.

        <Frame>
          <img src="https://mintcdn.com/iru/ceHzuGddI7w_43xJ/assets/media/images/iru-add-configure-scim.png?fit=max&auto=format&n=ceHzuGddI7w_43xJ&q=85&s=c55030a21c30ef6f65dc90285d3c45d7" alt="Add new integration page with SCIM protocol tile and Add and configure button" width="2134" height="1284" data-path="assets/media/images/iru-add-configure-scim.png" />
        </Frame>
      </Step>

      <Step title="Start Configuration">
        Click **Get started**.
      </Step>

      <Step title="Name the Integration">
        Enter a unique name for the SCIM integration.
      </Step>

      <Step title="Generate Authentication Token">
        Click **Generate token**. The SCIM integration uses an HTTP authorization header with a Bearer Token.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-name.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=cf4df5d3d63147de7739024f71f94bf8" alt="Configure a SCIM user integration screen with name field and Generate token button" width="1898" height="1258" data-path="assets/media/images/iru-scim-name.png" />
        </Frame>
      </Step>

      <Step title="Copy the Token">
        Click **Copy token**. The token will not be visible again after you click Done. Store it securely, as you will need it in the **Okta** tab.
      </Step>

      <Step title="Confirm and Complete Setup">
        Confirm that you have copied the token by checking the box, then click **Done**. You will return to the **Integrations** page.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-copy-token.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=c31e71ca70b13bd8db22047685ff47ae" alt="Copy token and configure with your identity provider dialog with Copy token button" width="1912" height="1262" data-path="assets/media/images/iru-scim-copy-token.png" />
        </Frame>
      </Step>

      <Step title="Access Integration Details">
        Click the **ellipsis** on the SCIM directory integration you created.
      </Step>

      <Step title="View Details">
        Select **View Details**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-view-details.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=f70aee81eba7ce75589cb220c68cce65" alt="Directory integrations list with SCIM integration and ellipsis menu showing View details, Rename, Rotate token, Delete" width="1162" height="542" data-path="assets/media/images/iru-scim-view-details.png" />
        </Frame>
      </Step>

      <Step title="Copy API URL">
        Copy the SCIM API URL (e.g. `https://subdomain.api.iru.com/api/v1/scim`). Your identity provider will require this. The URL displayed in your tenant may still show the `api.kandji.io` domain. The `api.kandji.io` version of the SCIM API URL will also work for this purpose.
      </Step>

      <Step title="Close Details">
        Click **Close**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-copy-api-url.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=f826bc146ef440fff34093ffeb0202d6" alt="View user integration details modal with SCIM API URL and copy button" width="1258" height="804" data-path="assets/media/images/iru-scim-copy-api-url.png" />
        </Frame>
      </Step>

      <Step title="Switch to Okta Tab">
        Keep the token and API URL available, then switch to the **Okta** tab to create and configure the SCIM app integration.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Okta">
    <Note>
      Complete the **Iru Endpoint** tab first to obtain the SCIM token and API URL. You will enter these in the steps below.
    </Note>

    ## Creating the SCIM Integration in Okta

    <Warning>
      The Iru Endpoint application available in the Okta Integration Network (OIN) cannot be provisioned for SCIM. A new Application Integration must be created to leverage SCIM. This new app integration will not interfere with any existing Okta SSO integration leveraging the OIN Iru Endpoint application.
    </Warning>

    <Steps>
      <Step title="Access Okta Tenant">
        Log in to your Okta admin console at login.okta.com.
      </Step>

      <Step title="Navigate to Applications">
        Once logged in, in the left-hand navigation, expand the **Applications** section and choose **Applications**.
      </Step>

      <Step title="Create App Integration">
        Click **Create App Integration**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-create-app.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=bee28d7e33ac9c2a3c1909bba9354d6b" alt="Okta Applications page with Create App Integration button" width="2994" height="1524" data-path="assets/media/images/iru-scim-okta-create-app.png" />
        </Frame>
      </Step>

      <Step title="Select Application Type">
        Select **SAML 2.0** as the application type and click **Next**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-create-saml-two.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=eb9fff4a7f56570455734e6cd85167d8" alt="Create a new app integration dialog with SAML 2.0 selected" width="1868" height="1068" data-path="assets/media/images/iru-scim-okta-create-saml-two.png" />
        </Frame>
      </Step>

      <Step title="Configure General Settings">
        In **General Settings**, give the app a **name** and check the box in the **App visibility** section. Then click **Next**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-general-settings.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=986108d1a095e39c1188ed3c3fad95f2" alt="Create SAML Integration General Settings with app name and App visibility" width="2074" height="1102" data-path="assets/media/images/iru-scim-okta-general-settings.png" />
        </Frame>
      </Step>

      <Step title="Configure SAML Settings">
        In **SAML Settings**, enter a placeholder URL in the **Single sign-on URL** and **Audience URI (SP Entity ID)** fields. Do not change any other settings.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-saml-settings.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=cd5e1ea620c56889059ec4757ee52d0f" alt="Create SAML Integration Configure SAML step with Single sign-on URL and Audience URI" width="2084" height="2334" data-path="assets/media/images/iru-scim-okta-saml-settings.png" />
        </Frame>
      </Step>

      <Step title="Continue Configuration">
        Click **Next**.
      </Step>

      <Step title="Complete Setup">
        In **Help Okta Support understand how you configured this application**, select the checkbox for **This is an internal app that we have created**, and click **Finish**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-internal-app.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=8ffaf87cd187e9ece7b6410d4c72fb25" alt="Create SAML Integration Feedback step with This is an internal app that we have created and Finish" width="2080" height="914" data-path="assets/media/images/iru-scim-okta-internal-app.png" />
        </Frame>
      </Step>
    </Steps>

    <Warning>
      Since we will not be using this application integration for SSO, the URLs do not need to be valid; however, you must enter URLs in these fields to proceed. If you decide to enable SAML SSO in Iru Endpoint, you can use this same app to do so.
    </Warning>

    ## Configuring SCIM Settings

    <Steps>
      <Step title="Access General Tab">
        In the Okta SCIM app you just created, navigate to the **General** tab.
      </Step>

      <Step title="Edit Settings">
        In the **Settings** section, click **Edit**.
      </Step>

      <Step title="Select SCIM Provisioning">
        Select **SCIM** in the Provisioning setting.
      </Step>

      <Step title="Save General Settings">
        Do not modify any other settings, and click **Save**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-scim-general-settings.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=9fd201eea08546a0f98cb65dcff5324f" alt="Okta General tab with SCIM selected in Provisioning setting" width="2076" height="1868" data-path="assets/media/images/iru-scim-okta-scim-general-settings.png" />
        </Frame>
      </Step>

      <Step title="Access Provisioning Tab">
        In the **Provisioning** tab, click **Edit** in the Integration section.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-edit-provisioning.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=318e88597aa3508668847210cbc94394" alt="Okta Provisioning tab with SCIM Connection and Edit button" width="2076" height="1988" data-path="assets/media/images/iru-scim-okta-edit-provisioning.png" />
        </Frame>
      </Step>

      <Step title="Configure SCIM API URL">
        For **SCIM connector base URL**, enter the SCIM API URL you copied from the **Iru Endpoint** tab (e.g. `https://subdomain.api.iru.com/api/v1/scim`). The `api.kandji.io` version of the SCIM API URL will also work for this purpose.
      </Step>

      <Step title="Set User Identifier">
        For **Unique identifier field for users**, enter **userName**.
      </Step>

      <Step title="Select Provisioning Actions">
        For **Supported provisioning actions**, select **Push New Users**, **Push Profile Updates**, and **Push Groups**.
      </Step>

      <Step title="Configure Authentication">
        For **Authentication Mode**, select **HTTP Header**.
      </Step>

      <Step title="Enter Authorization Token">
        For **Authorization**, enter the Bearer Token you obtained in the **Iru Endpoint** tab.
      </Step>

      <Step title="Test Configuration">
        Click **Test Connector Configuration** to test the integration.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-provisioning.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=adce507d96ddbf19dd2941f102eff1f8" alt="Okta SCIM Connection with base URL, userName, provisioning actions, HTTP Header, and Bearer token" width="2072" height="2206" data-path="assets/media/images/iru-scim-okta-provisioning.png" />
        </Frame>
      </Step>

      <Step title="Verify Test Results">
        In the list of detected features, confirm that only the following items display a checkmark to indicate success:

        * Create Users
        * Update User Attributes
        * Push Groups

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-test-connector.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=76d53787a446c0f8c79583447b6c0344" alt="Okta Test Connector Configuration dialog showing Connector configured successfully and detected features" width="850" height="1066" data-path="assets/media/images/iru-scim-okta-test-connector.png" />
        </Frame>
      </Step>

      <Step title="Save Integration Settings">
        Click **Save**.
      </Step>

      <Step title="Configure App Provisioning">
        While still on the **Provisioning** tab, go to the **To App** section and click **Edit**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-edit-to-app.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=ea9f1eca44ead8d49c3f0bf5c77adb1b" alt="Okta Provisioning To App section with Provisioning to App and Edit" width="2074" height="1920" data-path="assets/media/images/iru-scim-okta-edit-to-app.png" />
        </Frame>
      </Step>

      <Step title="Enable User Operations">
        In the **Provisioning to App** section, enable **Create Users**, **Update User Attributes**, and **Deactivate Users**.

        <Frame>
          <img src="https://mintcdn.com/iru/09oHsghqQ24xDtMY/assets/media/images/iru-scim-okta-provisioning-settings.png?fit=max&auto=format&n=09oHsghqQ24xDtMY&q=85&s=f53ea9f1f6859f670a53e54149132f3b" alt="Okta Provisioning to App settings with Create Users, Update User Attributes, and Deactivate Users" width="1950" height="1614" data-path="assets/media/images/iru-scim-okta-provisioning-settings.png" />
        </Frame>
      </Step>

      <Step title="Save App Settings">
        Click **Save**.
      </Step>

      <Step title="Configure Attribute Mappings">
        (optional) In the **Attribute Mappings**, edit the user attributes to send to Iru Endpoint. Iru Endpoint will only store and use the attributes mentioned in the [SCIM Directory Integration](/en/endpoint/integrations/scim/scim-directory-integration#scim-schema-and-supported-attributes) article.
      </Step>
    </Steps>

    ## Assigning Users to Iru Endpoint

    In Okta, the same group cannot be used on both the Assignments tab and the Push Groups tab. To avoid that conflict, create one assignment group for SCIM app access (for example, `iru_endpoint_users`) and keep it in sync with the users in your pushed groups. Then assign that assignment group to the SCIM app.

    <Warning>
      This is one example of assigning users to Iru Endpoint through Okta SCIM.
    </Warning>

    ### Create the assignment group

    <Steps>
      <Step title="Navigate to Groups">
        In a new browser tab, navigate to **Directory > Groups** and click **Add Group**.
      </Step>

      <Step title="Create User Group">
        Give the group a meaningful name like **iru\_endpoint\_users** and click **Save**.
      </Step>
    </Steps>

    ### Add members with a group rule

    Use this when people in your push groups (for example, Sales and Engineering) should automatically become members of `iru_endpoint_users`. If you follow these steps, you do not need to bulk-add those users by hand.

    <Steps>
      <Step title="Open Group Rules">
        Go to Directory > Groups > Rules and click **Add Rule**.

        <Frame>
          <img src="https://mintcdn.com/iru/HfT9kKcejff2Z6-I/assets/media/images/iru-scim-okta-add-rule.png?fit=max&auto=format&n=HfT9kKcejff2Z6-I&q=85&s=ba3b90c871b5caa3eef1a915310efc03" alt="Okta Directory Groups Rules page with Add Rule" width="3310" height="1702" data-path="assets/media/images/iru-scim-okta-add-rule.png" />
        </Frame>
      </Step>

      <Step title="Name the rule">
        Enter a rule name (for example, `Update iru_endpoint_users group membership`).
      </Step>

      <Step title="Configure group membership condition">
        Under IF, select **Use basic condition** and **Group membership**, then set **includes any of the following** and choose the groups you plan to push (for example, Sales and Engineering).
      </Step>

      <Step title="Assign target group">
        Under **Then Assign to**, select `iru_endpoint_users`, then click **Save**.

        <Frame>
          <img src="https://mintcdn.com/iru/HfT9kKcejff2Z6-I/assets/media/images/iru-scim-okta-create-rule.png?fit=max&auto=format&n=HfT9kKcejff2Z6-I&q=85&s=096e7be3e29bd2aa9531893942dcbe95" alt="Okta group rule IF condition with Use basic condition and Group membership" width="1968" height="1004" data-path="assets/media/images/iru-scim-okta-create-rule.png" />
        </Frame>
      </Step>

      <Step title="Activate the rule">
        Back on the Rules page, open **Actions** for the new rule and click **Activate**.

        <Frame>
          <img src="https://mintcdn.com/iru/HfT9kKcejff2Z6-I/assets/media/images/iru-scim-okta-activate-rule.png?fit=max&auto=format&n=HfT9kKcejff2Z6-I&q=85&s=66d746360eef965d1b47e1fffb9b2bda" alt="Okta Group Rules list with Actions menu and Activate" width="3310" height="1872" data-path="assets/media/images/iru-scim-okta-activate-rule.png" />
        </Frame>
      </Step>
    </Steps>

    ### Add members manually

    Use this when you are **not** using a group rule, for example, to add test users before push groups and rules are in place, or for people who must be in `iru_endpoint_users` but are not in any pushed group yet.

    <Steps>
      <Step title="Add users to the assignment group">
        Search for `iru_endpoint_users` and add the users who should have the SCIM app.
      </Step>
    </Steps>

    ### Assign the group to the SCIM app

    <Steps>
      <Step title="Return to SCIM App">
        Navigate back to the browser tab where the Okta SCIM app is open.
      </Step>

      <Step title="Access Assignments">
        Go to the **Assignments** tab, click **Assign > Assign to Groups**.
      </Step>

      <Step title="Assign Group">
        Search for the newly created group and click **Assign** > **Save and Go Back**.
      </Step>

      <Step title="Confirm Assignment">
        Confirm that the group was assigned and click **Done**. The group should now appear in the Assignments tab's **Groups** section.
      </Step>

      <Step title="Refresh if Needed">
        If the group does not display, try refreshing the browser tab.
      </Step>
    </Steps>

    All users in `iru_endpoint_users` are provisioned to Iru Endpoint and appear in the Users module. To sync groups for [conditional logic in Blueprints](/en/endpoint/blueprints/assignment-maps/using-conditional-logic-in-blueprints), continue with the next section.

    #### Pushing Groups to Iru Endpoint

    In this section, learn how to push user groups to Iru Endpoint.

    When planning to push Okta groups to Iru Endpoint for use with [conditional logic in Blueprints](/en/endpoint/blueprints/assignment-maps/using-conditional-logic-in-blueprints), for each group that you would like to push, add it to the **Push Groups** tab in the SCIM app.

    <Warning>
      Per this [Okta article](https://help.okta.com/oie/en-us/Content/Topics/users-groups-profiles/usgp-about-group-push.htm), groups used to assign users in the Assignment tab cannot be used in the Push Groups tab. Okta recommends creating additional groups containing the same users and adding the new groups to the Push Groups tab for consistent group membership.
    </Warning>

    If the same group is added in both places, the assignment tab will take precedence, and the group may not be pushed. One way to handle this is to create a single "user assignment" group containing all your Iru Endpoint users and add that group to the Assignment tab. From there, you can use your existing Okta groups as Push Groups. Remember that for the user-group association to work, the members of the pushed groups must also be members of the Iru Endpoint users group assigned to the SCIM app.

    ### Add groups on the Push Groups tab

    On the SCIM app, add every Okta group that should appear in Iru Endpoint.

    <Steps>
      <Step title="Access Push Groups">
        Open the Push Groups tab, click **Push Groups**, then **Find groups by name** (or **Find groups by rule**).
      </Step>

      <Step title="Select Group">
        Search for the group and select it.
      </Step>

      <Step title="Configure Group Creation">
        Select **Create Group**.
      </Step>

      <Step title="Save and Add Another">
        Click **Save & Add Another**.
      </Step>

      <Step title="Add Additional Groups">
        Add any other groups to push to Iru Endpoint.
      </Step>
    </Steps>

    ### Pushing Group Updates

    <Note>
      User and group syncing is one-way, meaning the SCIM app sends user and group data to Iru Endpoint only when there is new or updated data. For this reason, a "Sync Now" option is not needed in the Iru Endpoint Web App.
    </Note>

    * If you add users to the group assigned to the SCIM app in Okta, be sure to also update the groups you have added as Push Groups.
    * Updates should be seen in Iru Endpoint fairly quickly; to push group updates immediately, use **Push Now** on the Push Groups tab in Okta. See the [Okta article](https://help.okta.com/oie/en-us/content/topics/users-groups-profiles/usgp-enable-group-push.htm).

    ### Deleting Pushed Groups

    Use the following steps to stop pushing group updates or optionally delete a pushed group from Iru Endpoint.

    <Steps>
      <Step title="Access Push Groups Tab">
        Go to the Push Groups tab for the app in Okta.
      </Step>

      <Step title="Unlink Push Group">
        In the Push Status column, select **Unlink push group**.
      </Step>

      <Step title="Configure Deletion">
        Select **Delete the group in the target app (recommended)**. This removes the group in Iru Endpoint but does not delete user accounts. User accounts stay tied to the assignment group on the Provisioning tab.
      </Step>

      <Step title="Confirm Unlink">
        Click **Unlink**.
      </Step>
    </Steps>

    You should no longer see the group listed on the Push Groups tab.
  </Tab>
</Tabs>
