Llim.run

Single sign-on with OIDC

Limrun acts as an OIDC service provider. It uses each user's verified email domain to select the organization's OIDC connection.

Once a domain is verified and its organization has an SSO connection, everyone with that email domain must use Continue with SSO. This applies to new signups and existing accounts. Google, GitHub, Microsoft, and email-code sign-in cannot be used for that domain.

For provider-specific setup, see Okta or Microsoft Entra ID. To manage users and group access, see SCIM provisioning.

Before you start

Before you configure SSO, make sure you have:

Supported features

Limrun supports:

Verify your email domain

Each SSO domain must be verified before users with that domain can sign in through the OIDC connection. Verification needs access to your DNS records; if that is not possible, contact Limrun support for manual verification.

  1. Open console.limrun.com.

  2. Go to Settings.

  3. In Domain Verification, add the email domain that should use SSO.

  4. Create the TXT record shown in the verification dialog:

    DNS fieldValue
    TypeTXT
    Host / NameCopy from Limrun.
    ValueCopy from Limrun.
  5. After the DNS record is published, click Verify DNS in Limrun.

New domains have auto-join enabled by default. Auto-join takes effect after verification. If you manage domains through the API, set autoJoinEnabled: false to opt out. Without SCIM, successful SSO sign-in adds the user to the connection's organization regardless of this setting. Connecting SCIM disables auto-join and new SSO admission during setup. Once activated, SCIM requires an active provisioned user and a mapped group.

Create the OIDC application

  1. In your identity provider, create a new OIDC application.

  2. Choose Web Application as the application type.

  3. Use the authorization code flow.

  4. Make sure the ID token includes the user's email claim.

  5. Name the app Limrun.

  6. Add this sign-in redirect URI:

    https://api.limrun.com/authn/oidc/callback
  7. If your provider asks for an initiate login URI, add:

    https://api.limrun.com/authn/oidc/login
  8. Assign the users or groups that should have access to Limrun.

  9. Save the app.

Copy the OIDC values

Copy these values from your identity provider:

Limrun fieldProvider value
Issuer URLThe issuer from the provider's OpenID configuration.
Client IDThe app's client ID.
Client SecretThe app's client secret.

The issuer URL is the issuer value from your provider's OpenID configuration document. For example, with Okta:

https://your-org.okta.com/.well-known/openid-configuration

Use the issuer value from that JSON document:

https://your-org.okta.com

Save the connection in Limrun

  1. Return to console.limrun.com.
  2. Go to Settings > Single Sign-On.
  3. Confirm the redirect URI shown in Limrun matches the redirect URI in your identity provider.
  4. Enter the Issuer URL, Client ID, and Client Secret.
  5. Click Save.

Limrun discovers the provider from the issuer URL and requests the openid, email, and profile scopes.

Configure Single Logout (optional)

If your identity provider supports OIDC Single Logout, add the Post Logout Redirect URI shown in Limrun to your OIDC application's allowed logout redirect URIs.

For production, this value is:

https://console.limrun.com/authn/login

When a user signs out of Limrun, Limrun revokes the user's Limrun token and redirects through the provider's end_session_endpoint when the provider publishes one.

Configure Universal Logout (optional)

If your identity provider supports Global Token Revocation, configure this endpoint:

https://api.limrun.com/authn/oidc/global-token-revocation

Limrun accepts these subject identifier formats:

FormatHow Limrun resolves it
iss_subMatches the OIDC issuer and the user's OIDC sub.
emailMatches the user's email after confirming the domain belongs to the OIDC connection's organization.

Sign in

For SP-initiated sign-in, users start from the Limrun console:

  1. Go to console.limrun.com/authn/login.
  2. Click Continue with SSO.
  3. Enter your work email address.
  4. Complete authentication in your identity provider.

If the email domain is verified and the provider sign-in succeeds, Limrun signs the user in and redirects them to the console.

Troubleshooting

Users see "Your organization requires SSO". Choose Continue with SSO and enter the work email address. Users who previously signed in with Google or another method can use the same email through SSO to keep their existing account.

Users see "SSO not configured". Confirm the user's email domain is added under Settings > Domain Verification and shows Verified. Limrun only starts OIDC SSO for verified domains.

The provider rejects the redirect URI. Confirm that the redirect URI is exactly https://api.limrun.com/authn/oidc/callback.

The provider returns an ID token without an email. Configure the OIDC app so the ID token includes the user's email claim. Limrun requires the email claim to match the user to a verified organization domain.

A user authenticates with the provider but cannot enter Limrun. Confirm the user's email domain is verified in Limrun and assigned to the same organization as the OIDC connection.

Limits and account linking