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

# Passport Configuration with Okta

> Configure Passport with Okta in Iru Endpoint for macOS login and password synchronization. Set up the Okta app integration and authentication settings.

<Callout icon="apple" color="#B84A7A" iconType="regular">This guide applies to Mac computers</Callout>

### About Passport with Okta

Passport with Okta enables users to log into Mac computers using their Okta credentials instead of separate local passwords. This integration streamlines authentication by connecting your Okta identity provider directly to macOS login.

### How It Works

Passport integrates with your Okta organization to authenticate users at the macOS login screen. When users enter their Okta credentials, Passport verifies them against your Okta tenant and creates or updates the local Mac user account accordingly.

<Tabs>
  <Tab title="Okta">
    ### Okta Application Configuration

    When configuring the Passport Library Item, you need the **Client ID** and **Identity provider URL**. In Okta, the client identifier may be labeled **Application ID**. Use these steps to configure the OIDC app and collect the required information.

    <Steps>
      <Step title="Access Applications">
        In your Okta Administrator Console, in the left menu pane, expand the Applications section and select **Applications**.
      </Step>

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

      <Step title="Select Sign-in method">
        For **Sign-in method**, select **OIDC - OpenID Connect**.
      </Step>

      <Step title="Select Application Type">
        For Application Type, select **Native Application**.
      </Step>

      <Step title="Continue to next step">
        Click **Next**.
      </Step>

      <Step title="Enter app name">
        In the **App integration name** field, enter a name such as *Iru Passport*.
      </Step>

      <Step title="Configure Grant type">
        In the **Grant type** section, confirm that the checkbox for **Refresh Token** is deselected. This option must be turned off to ensure that Passport prompts users to update their Mac password while logged in if their Okta password changes.

        <Note>
          The **Store user password** setting in the Passport Library Item needs to be set to **Securely store password** for users to receive the password update prompt.
        </Note>
      </Step>

      <Step title="Access Advanced options when using OIE">
        If you're using Okta Identity Engine, click **Advanced** to show additional options.
      </Step>

      <Step title="Select Resource Owner Password">
        In the **Other grants** section, select the checkbox for **Resource Owner Password**.

        <Note>
          If your Okta instance hasn't yet been updated from Classic to Okta Identity Engine, also referred to as OIE, the **Interaction Code** grant type and other options will not be displayed.
        </Note>
      </Step>

      <Step title="Add redirect URI">
        In the **Sign-in redirect URIs** section, click **Add URI**.
      </Step>

      <Step title="Enter redirect URI">
        In the new field that appears, enter the following:

        ```
        https://localhost.redirect
        ```

        <Note>
          The same Sign-in redirect URI must be used in the Passport Library Item in the Redirect URI field in the Authentication mode section.
        </Note>

        <Frame>
          <img src="https://mintcdn.com/iru/-j5Xd3hg6nX9V7df/assets/media/images/HwiY-S39tmzsv1H5gMgSqsxp3iu21yiXfg.png?fit=max&auto=format&n=-j5Xd3hg6nX9V7df&q=85&s=ec5f9ad58225355f4436db5ad6b2a485" alt="Okta OIDC app General tab showing Sign-in redirect URI and Assignments section for Passport" width="1700" height="503" data-path="assets/media/images/HwiY-S39tmzsv1H5gMgSqsxp3iu21yiXfg.png" />
        </Frame>
      </Step>

      <Step title="Configure assignments">
        In the Assignments section, select whether to assign the app integration to everyone in your org, only to selected groups, or skip assignment until after app creation.
      </Step>

      <Step title="Save configuration">
        Click **Save**.

        <Frame>
          <img src="https://mintcdn.com/iru/2JN9EXN6FEm5sMxP/assets/media/images/5tugr09k1kbvbnevh-r9tg3czyxksubb5g.png?fit=max&auto=format&n=2JN9EXN6FEm5sMxP&q=85&s=e863fda2b63b3e8dfdcba2b57086a7f0" alt="Okta app integration Assignments section showing assignment options and Save button" width="1700" height="595" data-path="assets/media/images/5tugr09k1kbvbnevh-r9tg3czyxksubb5g.png" />
        </Frame>
      </Step>
    </Steps>

    ### Collecting Configuration Details

    <Steps>
      <Step title="Prepare secure document">
        Open a secure text document that you can use to store values for this OIDC app. You will need these details when you configure the Passport Library Item.
      </Step>

      <Step title="Copy Client ID">
        In the General tab of the OIDC application you just created, on the right side of the **Client ID** field, click the **copy icon** that looks like a clipboard.

        <Frame>
          <img src="https://mintcdn.com/iru/jRlO0_YZMRaiZbXg/assets/media/images/Kandji-Support-KB-1004AM@2x.png?fit=max&auto=format&n=jRlO0_YZMRaiZbXg&q=85&s=d892e0280ed20b1a923ac06440b35202" alt="Okta OIDC app General tab showing Client ID field with copy icon for Passport configuration" width="2766" height="1594" data-path="assets/media/images/Kandji-Support-KB-1004AM@2x.png" />
        </Frame>
      </Step>

      <Step title="Store Client ID">
        Paste the value into your secure text document.
      </Step>

      <Step title="Copy Identity provider URL formula">
        Copy the formula for your **Identity provider URL** from the following text:

        ```
        https://yourOktaDomain/.well-known/openid-configuration
        ```
      </Step>

      <Step title="Store Identity provider URL">
        Paste the text into your secure text document.
      </Step>

      <Step title="Replace domain placeholder">
        In your secure text document, replace yourOktaDomain with your Okta domain.
      </Step>
    </Steps>

    <Tip>
      You do not need a custom Sign-On Policy Rule, but if you add one, ensure MFA is disabled.
    </Tip>

    <Note>
      If you do not need to configure MFA, open the [**Iru Endpoint** tab](#iru-endpoint). Follow [the next section](#enable-multi-factor-authentication) if you do need to configure MFA.
    </Note>

    ### Enable Multi-Factor Authentication

    <Warning>
      The MFA policy in Okta should be applied to Users or Groups, not to the Passport Application in Okta.
    </Warning>

    When you use MFA with Passport, update Okta and the Passport Library Item. For more on how they can differ, see Okta's [Differences Between Okta Classic and OIE](https://support.okta.com/help/s/article/Setting-Up-Okta-Verify-Differences-Between-Classic-and-Okta-Identity-Engine-OIE?language=en_US) article. Expand the section for your Okta engine, or use the [Okta Identity Engine](#okta-identity-engine) or [Classic Engine](#classic-engine) links.

    <AccordionGroup>
      <Accordion title="Okta Identity Engine, OIE">
        <span id="okta-identity-engine" />

        **Okta Authenticators**

        <Steps>
          <Step title="Access Security section">
            Expand the **Security** section from the left-hand navigation.
          </Step>

          <Step title="Open Authenticators">
            Click **Authenticators**.
          </Step>

          <Step title="Verify MFA methods">
            Ensure that at least one multifactor authentication method, such as Okta Verify, is listed.
          </Step>

          <Step title="Add authenticator when needed">
            If no multifactor method is listed, click the **Add authenticator** button.

            <Frame>
              <img src="https://mintcdn.com/iru/pt004fUbT6GTF1kl/assets/media/images/Kandji-Support-KB-1008.png?fit=max&auto=format&n=pt004fUbT6GTF1kl&q=85&s=5fd3fb6ba79ae596439143d1057f02ac" alt="Okta Security Authenticators page showing Add authenticator button for MFA methods" width="1508" height="1123" data-path="assets/media/images/Kandji-Support-KB-1008.png" />
            </Frame>
          </Step>

          <Step title="Select authenticator">
            Click the **Add** button below each authenticator you need.

            <Frame>
              <img src="https://mintcdn.com/iru/1OVymKHk38EquoaD/assets/media/images/xhlljhzxb_u0qjq4od5ov4_brikrjb5_jg.png?fit=max&auto=format&n=1OVymKHk38EquoaD&q=85&s=26cc1ee5988ce91c2dc6cce8d5d94af8" alt="Okta Authenticators list showing Add button for Okta Verify or other MFA methods" width="947" height="983" data-path="assets/media/images/xhlljhzxb_u0qjq4od5ov4_brikrjb5_jg.png" />
            </Frame>
          </Step>

          <Step title="Complete setup">
            Complete any additional steps for the authenticator.
          </Step>

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

        **Okta Global Session Policy**

        <Steps>
          <Step title="Access Security section">
            Expand the **Security** section from the left-hand navigation.
          </Step>

          <Step title="Open Global Session Policy">
            Click **Global Session Policy**.
          </Step>

          <Step title="Create or edit policy">
            Click **Add policy** to create a new policy, or to edit the existing **Default Policy**, continue to the next step.
          </Step>

          <Step title="Edit existing Default Policy">
            To edit the existing **Default Policy**, click the pencil icon in the **Actions** column for the Default Rule.

            <Frame>
              <img src="https://mintcdn.com/iru/pt004fUbT6GTF1kl/assets/media/images/Kandji-Support-KB-1009.png?fit=max&auto=format&n=pt004fUbT6GTF1kl&q=85&s=0e771b930b86db08bacf937bb6e8cbfb" alt="Okta Sign On policy or MFA configuration for Passport" width="1513" height="1142" data-path="assets/media/images/Kandji-Support-KB-1009.png" />
            </Frame>
          </Step>

          <Step title="Set MFA requirement">
            Set multifactor authentication to **Required**.
          </Step>

          <Step title="Set MFA prompt frequency">
            Set **Users will be prompted for MFA** to **At every sign in**.

            <Frame>
              <img src="https://mintcdn.com/iru/1OVymKHk38EquoaD/assets/media/images/yo7oyq_fnhmxx3pvec5ouh-njotlucgegw.png?fit=max&auto=format&n=1OVymKHk38EquoaD&q=85&s=e8ad1980295661502f395b3c6e512afa" alt="Okta application or policy configuration interface for Passport MFA" width="956" height="1114" data-path="assets/media/images/yo7oyq_fnhmxx3pvec5ouh-njotlucgegw.png" />
            </Frame>
          </Step>

          <Step title="Save policy">
            Scroll down and click **Update rule** or **Create rule**.
          </Step>
        </Steps>

        **Authentication Policies**

        <Steps>
          <Step title="Access Security section">
            Expand the **Security** section from the left-hand navigation.
          </Step>

          <Step title="Open Authentication Policies">
            Click **Authentication Policies**.
          </Step>

          <Step title="Access Applications">
            Click **Applications**.
          </Step>

          <Step title="Switch policy for Passport">
            Click **Switch policy** next to your Iru Passport application.
          </Step>

          <Step title="Select Password only policy">
            Select **Password only** for the **Use this policy for Iru Passport** policy.
          </Step>

          <Step title="Save policy">
            Click **Save**.

            <Frame>
              <img src="https://mintcdn.com/iru/QFYv5VkafyoQpXjR/assets/media/images/d1fjzx35sxt3xvzfrgweykdfvpufgsbkgg.png?fit=max&auto=format&n=QFYv5VkafyoQpXjR&q=85&s=b26c9df0518e013eadbbc4c3068e2a9a" alt="Okta Classic Engine MFA or Sign On configuration for Passport" width="881" height="423" data-path="assets/media/images/d1fjzx35sxt3xvzfrgweykdfvpufgsbkgg.png" />
            </Frame>
          </Step>
        </Steps>
      </Accordion>

      <Accordion title="Classic Engine">
        <span id="classic-engine" />

        **Okta MFA Settings**

        <Steps>
          <Step title="Access Security section">
            Expand the **Security** section from the left-hand navigation.
          </Step>

          <Step title="Open Authentication">
            Click **Authentication**.
          </Step>

          <Step title="Access Sign On">
            Click **Sign On**.
          </Step>

          <Step title="Add new policy">
            Click **Add New Okta Sign-on Policy**.

            <Frame>
              <img src="https://mintcdn.com/iru/pt004fUbT6GTF1kl/assets/media/images/Kandji-Support-KB-1011.png?fit=max&auto=format&n=pt004fUbT6GTF1kl&q=85&s=066ee7dcb5d083be6fc822fb9b475ef8" alt="Okta MFA or authentication policy configuration screen for Passport" width="1399" height="938" data-path="assets/media/images/Kandji-Support-KB-1011.png" />
            </Frame>
          </Step>

          <Step title="Configure policy details">
            Enter a **Policy name** similar to MFA Required.
          </Step>

          <Step title="Add policy description">
            Enter a **Policy Description**.
          </Step>

          <Step title="Select groups">
            Select the groups that will be assigned to this MFA requirement.
          </Step>

          <Step title="Create policy">
            Click **Create policy and add rule**.

            <Frame>
              <img src="https://mintcdn.com/iru/TrNeDzYbuegnhNyr/assets/media/images/npsmpvffdz6hupgmkzhd6wbdlk1omygmja.png?fit=max&auto=format&n=TrNeDzYbuegnhNyr&q=85&s=9685efeca0533e48987e069d3d762726" alt="Okta policy or app assignment configuration for Passport" width="679" height="505" data-path="assets/media/images/npsmpvffdz6hupgmkzhd6wbdlk1omygmja.png" />
            </Frame>
          </Step>

          <Step title="Enter rule name">
            Enter the **Rule name**.
          </Step>

          <Step title="Set MFA requirement">
            Select **Required** for multifactor authentication.
          </Step>

          <Step title="Set MFA frequency">
            Select **At every sign in** for the **Users will be prompted for MFA** setting.

            <Frame>
              <img src="https://mintcdn.com/iru/mol1UbnodotF3fFx/assets/media/images/gh0_vul0jmqibi-8mgwmzsznyehchsvdgq.png?fit=max&auto=format&n=mol1UbnodotF3fFx&q=85&s=ee4ef8e0d4ba69943b545cc74e59d421" alt="Okta configuration interface showing MFA or sign-on settings for Passport" width="969" height="1043" data-path="assets/media/images/gh0_vul0jmqibi-8mgwmzsznyehchsvdgq.png" />
            </Frame>
          </Step>

          <Step title="Create rule">
            Click **Create rule** at the bottom of the window.

            <Frame>
              <img src="https://mintcdn.com/iru/2JN9EXN6FEm5sMxP/assets/media/images/6ocdes12chjadqfbmh_k3e1zqv-ddcwmhw.png?fit=max&auto=format&n=2JN9EXN6FEm5sMxP&q=85&s=78fde9317b810b44fb8410f5e1e51387" alt="Okta app or policy rule configuration for Passport integration" width="966" height="609" data-path="assets/media/images/6ocdes12chjadqfbmh_k3e1zqv-ddcwmhw.png" />
            </Frame>
          </Step>
        </Steps>
      </Accordion>
    </AccordionGroup>

    <Note>
      Switch to the [**Iru Endpoint** tab](#iru-endpoint) and work through the Passport Library Item steps there. Start at the top of that tab. When you are done, return to this tab and continue with **Configure the Group Claim Filter in Okta** below.
    </Note>

    ### Configure the Group Claim Filter in Okta

    In your Passport OIDC application, configure the **Groups claim filter** so Okta sends the group claims Passport expects. This article uses names starting with *Mac-* as an example.

    <Steps>
      <Step title="Access Applications">
        In your Okta Administrator Console, in the left menu pane, expand the Applications section if necessary, then select **Applications**.
      </Step>

      <Step title="Select Passport application">
        Select the **Iru Passport** application that you previously created.
      </Step>

      <Step title="Open Sign On tab">
        Click the **Sign On** tab.
      </Step>

      <Step title="Edit ID Token">
        In the **OpenID Connect ID Token** section, click Edit.

        <Frame>
          <img src="https://mintcdn.com/iru/QFYv5VkafyoQpXjR/assets/media/images/bxpccwjei6z39cym1demptkonor46rjbhw.png?fit=max&auto=format&n=QFYv5VkafyoQpXjR&q=85&s=c4f9ffbbec9fd9719dea78e1c3493d69" alt="Okta Sign On or MFA rule configuration for Passport exclusion or inclusion" width="1670" height="1006" data-path="assets/media/images/bxpccwjei6z39cym1demptkonor46rjbhw.png" />
        </Frame>
      </Step>

      <Step title="Configure Groups claim filter">
        In the **Groups claim filter** section, leave the default value: **groups**.
      </Step>

      <Step title="Set filter condition">
        Leave the middle field at the default: **Starts with**.
      </Step>

      <Step title="Enter group prefix">
        In the right-most field, enter **Mac** if the Okta groups you use or will use start with **Mac**.
      </Step>

      <Step title="Save configuration">
        Click **Save**.

        <Frame>
          <img src="https://mintcdn.com/iru/QFYv5VkafyoQpXjR/assets/media/images/b8oplm8pc6z0y6xlteg92xto3uiyhczzaa.png?fit=max&auto=format&n=QFYv5VkafyoQpXjR&q=85&s=d45cf165490f73a6abf8648352dd4544" alt="Okta Passport configuration complete showing assignment or policy summary" width="1656" height="1202" data-path="assets/media/images/b8oplm8pc6z0y6xlteg92xto3uiyhczzaa.png" />
        </Frame>
      </Step>
    </Steps>
  </Tab>

  <Tab title="Iru Endpoint" id="iru-endpoint">
    If you have not already, use [Configure the Passport Library Item](/en/endpoint/library/passport/configure-the-passport-library-item) to add the Passport Library Item and basic settings. The steps below are the **Iru Endpoint** configuration specific to Okta Passport.

    ### Authentication Mode

    Set **Authentication mode** in the Passport Library Item to match how users sign in with Okta. Use **Web Login** when MFA applies, and **Mac Login** when it does not.

    Complete the steps below first, using the values you collected on the **Okta** tab. Then follow **Web Login** or **Mac Login**.

    <Steps>
      <Step title="Select Okta identity provider">
        In the Passport Library Item, set **Identity provider** to **Okta**.
      </Step>

      <Step title="Enter Identity provider URL">
        In the **Identity provider URL** field, enter your Okta OIDC well-known configuration URL from the **Okta** tab. It follows this pattern:

        ```bash theme={null}
        https://{yourOktaDomain}/.well-known/openid-configuration
        ```
      </Step>

      <Step title="Enter Client ID (Password Sync)">
        In the **Client ID (Password Sync)** field, enter the **Application ID** (client ID) from the OIDC app on the **Okta** tab.
      </Step>
    </Steps>

    #### Web Login

    If you use multi-factor authentication with Passport, you must use **Web Login** as the authentication mode so users can complete MFA during sign-in.

    <Steps>
      <Step title="Select Web Login">
        Under **Authentication mode**, select **Web Login**.
      </Step>

      <Step title="Enter redirect URI">
        In the **Redirect URI** field, enter the following:

        ```
        https://localhost.redirect
        ```

        <Frame>
          <img src="https://mintcdn.com/iru/auny609w8TU-4qYr/assets/media/images/iru-passport-okta-web-login-redirect-uri.png?fit=max&auto=format&n=auny609w8TU-4qYr&q=85&s=a81382e7020de19e41c16f3807eb22cc" alt="Passport Library Item Web Login redirect URI for Okta" width="2296" height="992" data-path="assets/media/images/iru-passport-okta-web-login-redirect-uri.png" />
        </Frame>
      </Step>

      <Step title="Save configuration">
        Click **Save**.
      </Step>
    </Steps>

    #### Mac Login

    If you are not using MFA with Passport, use **Mac Login** as the authentication mode. Users sign in with their Okta password at the Mac login window without the Web Login MFA flow.

    <Steps>
      <Step title="Select Mac Login">
        Under **Authentication mode**, select **Mac Login**.

        <Frame>
          <img src="https://mintcdn.com/iru/auny609w8TU-4qYr/assets/media/images/iru-passport-okta-mac-login.png?fit=max&auto=format&n=auny609w8TU-4qYr&q=85&s=f4aafe98a0e07348d24d9d990f4ec9ef" alt="Passport Library Item Authentication mode set to Mac Login for Okta" width="2272" height="768" data-path="assets/media/images/iru-passport-okta-mac-login.png" />
        </Frame>
      </Step>

      <Step title="Save configuration">
        Click **Save**.
      </Step>
    </Steps>

    ### User Provisioning

    If you want Passport to set each user's Mac account type from Okta group membership, use the **User provisioning** steps below on the Passport Library Item [**Iru Endpoint** tab](#iru-endpoint). The groups you use in Okta do not have to start with *Mac-*, but the example groups in this article use that prefix.

    <Steps>
      <Step title="Configure user account type">
        In the Passport Library Item, click the User account type menu in the User provisioning section and select **Specify per identity provider group**.
      </Step>

      <Step title="Choose fallback account type">
        With **User account type** set to **Specify per identity provider group**, open the account type drop-down below it and select Administrator or Standard user. If a user's IdP group membership returns both Administrator and Standard account types, the user is designated an Administrator.
      </Step>

      <Step title="Enter group names">
        In the **Identity provider group** fields, enter your Okta group names. This article uses groups that start with *Mac-* as an example.
      </Step>

      <Step title="Set account types">
        For each **Identity provider group** row, set the **Account type** as appropriate.

        <Frame>
          <img src="https://mintcdn.com/iru/auny609w8TU-4qYr/assets/media/images/iru-okta-passport-user-provisioning.png?fit=max&auto=format&n=auny609w8TU-4qYr&q=85&s=8f214156986ed1b377c1875e15ed5b93" alt="Passport Library Item User provisioning for Okta" width="2716" height="1920" data-path="assets/media/images/iru-okta-passport-user-provisioning.png" />
        </Frame>
      </Step>
    </Steps>

    <Note>
      When **User provisioning** and related saves are complete in the Passport Library Item, switch back to the **Okta** tab and complete [Configure the Group Claim Filter in Okta](#configure-the-group-claim-filter-in-okta) if you have not already. Start at the top of that tab if you need the full flow.
    </Note>
  </Tab>
</Tabs>

### Troubleshooting Issues with Passport & Okta

If you experience any issues with Passport & Okta, read our [Passport Troubleshooting with Okta](/en/endpoint/library/passport/okta/passport-troubleshooting-with-okta) article for additional information.
