Skip to content

SAML JIT provisioning using Okta

License

The Lightrun SAML JIT feature is only available to users on our Enterprise plan; please contact our Support team for more information.

From version 1.42.1, Lightrun supports adding JIT (Just-In-Time) user provisioning capabilities to Okta. Provisioning SAML JIT accounts using Okta involves setting up a seamless and automated user account creation process for applications integrated with Okta.

By configuring JIT provisioning, administrators can ensure that when users log in to a web application for the first time via Single Sign-On (SSO), their account is automatically created based on the information passed through SAML assertions from Okta. This eliminates the need for manual account creation during onboarding, significantly reducing administrative overhead and improving the user experience.

To set up SAML JIT provisioning in Okta, first set up the Lightrun Application within the Okta. This involves defining the necessary user attributes and mappings that the service provider (the web application) requires.

Once configured, when a user authenticates through Okta, the system sends the relevant user attributes—such as name, email—in the SAML response to Lightrun. If the user does not already have an account, the application uses this information to create one automatically, allowing the user immediate access without further intervention.

Prerequisite: Set up Lightrun SAML with SSO in Okta

To set up the Lightrun application in Okta for the SSO SAML integration, see SSO SAML with Okta.

Step 1: Configure SAML Attributes in Okta for Lightrun

  1. Sign in to Okta.
  2. In the Administration console, navigate to the Application > and click the General tab.
  3. Under the App Settings > SAML Setting section, click Edit.
  4. Click Next to reach the Configure SAML step in the wizard.
  5. Under the Attribute Statements (Optional) section addd the following new claims with the indicated Name and Source attributes values.

    Name Source attribute
    firstName user.firstName
    lastName user.lastName

    Add new attributes

  6. Click Next.

  7. Fill in the feedback form, and click Finish.

Step 2: Enable SAML JIT Provisioning in Lightrun

  1. Log in to your Lightrun Management Portal.

  2. Click Settings on the top right-hand side of your screen to navigate to the Identity and Access Management tab > Identity Configuration.

  3. Scroll down to the Provisioning section.

    Enable JIT Provisioning

  4. Click the SAML JIT toggle to enable SAML JIT.

  5. Click Save.

Guidelines for managing users using JIT provisioning

When managing users through JIT provisioning, the following guidelines apply:

  • Provisioning Method

    Only one provisioning method can be used at a time.

  • Identity management integration

    Only a single Identity Management (IdM) system can be set with SAML JIT.

  • Adding users

    When a user is provisioned through Okta, they are automatically added to the Lightrun Management Portal and flagged as JIT-provisioned.

  • Removing users

    Removing a user from JIT provisioning will not remove the user from Lightrun; manual removal is required.

  • Default Pool Assignment

    JIT-provisioned users are automatically added to the default Agent Pool and assigned user-role permissions.

  • Roles and Permissions

    Lightrun-specific roles and permissions must be assigned directly within the Lightrun Management Portal. Users can be assigned to different agent pools, inheriting the roles and permissions associated with those pools.


Last update: October 13, 2024