Skip to main content

Let members sign in with SSO

Enable organization SSO when members should reach this organization through your OpenID Connect (OIDC) identity provider instead of only email and password.

By default, organization SSO does not create Platform accounts for unknown emails. Keep Allow automatic account creation off and invite teammates when you want to control who joins. Turn the setting on only when people who can authenticate at your identity provider should receive a Platform account and organization membership without an invitation.

Before you start​

  • Decide whether members join through invitations only, or whether SSO may create accounts automatically (see Allow automatic account creation).

  • Configure an OIDC application in your identity provider.

  • Add the Platform callback URL to that OIDC application:

    https://app.runsafesecurity.com/auth/org-sso/<organization-id>/callback

    Replace <organization-id> with the organization ID from the SSO sign-in URL shown in Settings → SSO.

The identity provider must return a stable subject (sub) claim and an email address from email, preferred_username, or upn. By default, the Platform also requires a verified email claim: email_verified, or for Microsoft Entra ID, xms_edov. The Platform uses that email to find or create a Platform user, then links the provider subject to that user's membership in the organization.

Turn on SSO​

  1. Open Settings → SSO.
  2. Turn on SSO enabled.
  3. Enter the OIDC Issuer URL.
  4. Enter the OIDC application Client ID and Client secret.
  5. Select whether to Require SSO for organization admins.
  6. Leave Allow unverified IdP email claims off unless your identity provider cannot supply email_verified or xms_edov. Enabling it weakens SSO security; the Platform shows a confirmation dialog and a security warning before you continue.
  7. Leave Allow automatic account creation off unless you want unknown IdP users to join without an invitation. Enabling it shows a confirmation dialog and a security warning; restrict IdP access to the people who should join.
  8. Select Save Changes.
  9. Copy the SSO sign-in URL and share it with members who should sign in through the identity provider.

When SSO is enabled, organization members must use the organization SSO sign-in URL to access that organization. Organization admins can still sign in with email and password unless Require SSO for organization admins is enabled.

Allow unverified IdP email claims​

Keep this setting off whenever your identity provider can mark email as verified. When it is off, sign-in fails if the IdP does not return email_verified (or Microsoft Entra xms_edov).

Turn it on only when your IdP cannot provide those verification claims. While it is enabled, the Platform accepts the email claim as-is without requiring verification. That can open account-takeover paths if the IdP issues unverified or attacker-controlled email claims.

Allow automatic account creation​

Keep this setting off when invitations should control who joins. With it off:

  • Existing organization members continue to sign in with SSO as before.
  • People with a pending invitation for that email can sign in with SSO; the Platform creates or links their account and accepts the invite (including the invite's Admin or User role).
  • Existing Platform users who are not yet members of this organization receive membership when they sign in with SSO (User role, or the pending invite's role when one exists).
  • Unknown emails with no pending invitation are rejected.

Turn it on when anyone who can authenticate at your identity provider should join without an invitation. While it is enabled, the Platform also creates a verified Platform account and User membership for an unknown email on first successful SSO sign-in. Suspended accounts are still rejected. Restrict IdP access (groups, apps, or policies) to the people who should join—the Platform shows a confirmation dialog and a security warning before you continue.

Rotate the client secret​

Enter the new value in Client secret and select Save Changes. If you leave the field blank, the Platform keeps the existing stored secret.