---
updatedAt: 2026-07-26T14:28:14.000Z
agentTools:
  projectIndex: https://docs.brightsec.com/llms.txt
---

# SAML SSO

## Table of Contents

* [Prerequisites](https://docs.brightsec.com/docs/saml-sso#prerequisites)
* [Step 1. Get Bright Service Provider (SP) Details](https://docs.brightsec.com/docs/saml-sso#step-1-get-bright-service-provider-sp-details)
  * [Option A: Copy the Values](https://docs.brightsec.com/docs/saml-sso#option-a-copy-the-values)
  * [Option B: Export the Files](https://docs.brightsec.com/docs/saml-sso#option-b-export-the-files)
* [Step 2. Configure Your Identity Provider](https://docs.brightsec.com/docs/saml-sso#step-2-configure-your-identity-provider)
  * [Import the Bright Metadata](https://docs.brightsec.com/docs/saml-sso#import-the-bright-metadata)
  * [Trusted Certificates](https://docs.brightsec.com/docs/saml-sso#trusted-certificates)
  * [Attributes Mapping](https://docs.brightsec.com/docs/saml-sso#attributes-mapping)
* [Step 3. Configure SAML in Bright](https://docs.brightsec.com/docs/saml-sso#step-3-configure-saml-in-bright)
  * [Option A: By Metadata](https://docs.brightsec.com/docs/saml-sso#option-a-by-metadata)
  * [Option B: Manual](https://docs.brightsec.com/docs/saml-sso#option-b-manual)
  * [Common Settings](https://docs.brightsec.com/docs/saml-sso#common-settings)
* [Integration Usage](https://docs.brightsec.com/docs/saml-sso#integration-usage)
* [User Provisioning](https://docs.brightsec.com/docs/saml-sso#user-provisioning)
  * [Just-in-Time (JIT) Provisioning](https://docs.brightsec.com/docs/saml-sso#just-in-time-jit-provisioning)
  * [SCIM Provisioning](https://docs.brightsec.com/docs/saml-sso#scim-provisioning)
* [Single Logout (SLO)](https://docs.brightsec.com/docs/saml-sso#single-logout-slo)
  * [How It Works](https://docs.brightsec.com/docs/saml-sso#how-it-works)
* [User Login Flow](https://docs.brightsec.com/docs/saml-sso#user-login-flow)
  * [Sign In from Bright](https://docs.brightsec.com/docs/saml-sso#sign-in-from-bright)
  * [Sign In from Your Identity Provider](https://docs.brightsec.com/docs/saml-sso#sign-in-from-your-identity-provider)
* [FAQ](https://docs.brightsec.com/docs/saml-sso#faq)

To simplify user access to Bright, you can configure Single Sign-On (SSO) integration between Bright and your Identity Provider (IdP) using the SAML 2.0 protocol. Bright works with any SAML 2.0-compliant Identity Provider, including Microsoft Azure AD / Entra ID, Okta, AD FS, PingFederate, OneLogin, and others.

This guide explains how to connect a generic SAML Identity Provider to Bright, configure user provisioning, and enable Single Logout (SLO).

### Prerequisites

Before you begin, make sure you have:

* Organization administrator permissions in Bright (the `auth-providers` scope) and the SSO feature enabled for your Bright subscription.
* Administrator access to your Identity Provider.
* One of the following from your Identity Provider:
  * The IdP Metadata URL (recommended)
  * The IdP metadata XML file
  * The manual values: IdP Entity ID, SSO URL, and X.509 signing certificate, plus the Single Logout URL if you plan to use Single Logout
* Optional, for SCIM provisioning: a valid organization API key with the `scim` scope.

## Step 1. Get Bright Service Provider (SP) Details

Before configuring your Identity Provider, collect the Bright Service Provider details.

Open the Bright app and do the following:

1. Log in to the Bright app.
2. In the left pane, select **Settings**.
3. In the **Single sign on (SSO) Authentication** list, select **SAML**, and then click **Connect**.

![](https://files.readme.io/0f195266ea2697f48bf86a1b867cfb62aa4f15194a72127aa553f9bc07cffdca-image.png)

### Option A: Copy the Values

On the SAML authentication page, find the **Bright metadata** section. It contains the values your Identity Provider needs, each with a copy button:

| Field                          | Description                                                                       |
| ------------------------------ | --------------------------------------------------------------------------------- |
| Entity ID                      | Your Bright organization's unique identifier                                      |
| Assertion consumer service URL | Where your IdP sends SAML responses (HTTP-POST binding)                           |
| Single logout service URL      | Where your IdP sends Single Logout requests and responses (HTTP-Redirect binding) |

![](https://files.readme.io/c68b997cf4f715ba336788a98c237c67f7fcc3a8bbb13aa0f92713cae66282f6-image.png)

### Option B: Export the Files

Instead of copying the values one by one, you can export them as files using the buttons above the metadata XML preview:

* **Download your Bright metadata** - Downloads the `metadata.xml` file with the full Bright SP metadata.
* **Download your Bright signing certificate** - Downloads the `signing_certificate.cer` file with the Bright signing certificate.

> **Note:** Use `signing_certificate.cer` only if you would like to use Bright certificates in addition to IdP certificates for more security. Some Identity Providers restrict the use of Service Provider certificates.

Keep this page open. You will return to it in Step 3.

![](https://files.readme.io/f056da4fd6db46e6c2cbeef820538ba73f8433ff68d8ebbf909c1af8dedf9d35-image.png)

## Step 2. Configure Your Identity Provider

Create a new SAML application in your Identity Provider, such as Azure or Okta, using the Bright SP details collected in Step 1.

### Import the Bright Metadata

The easiest option is to upload the exported `metadata.xml` file to your Identity Provider. Most IdPs, including Azure AD, Okta, and AD FS, can create the SAML application configuration directly from an uploaded SP metadata file.

![](https://files.readme.io/022dd5d16e7d2fda42930c8a971a3ccfd718317d3e0904eef75ee8be6ad21833-image.png)

If your Identity Provider does not support metadata upload, fill in the fields manually:

| IdP setting          | Value                                                         |
| -------------------- | ------------------------------------------------------------- |
| ACS URL / Reply URL  | Bright Assertion consumer service URL                         |
| Entity ID / Audience | Bright Entity ID                                              |
| Name ID Format       | Email address                                                 |
| Single Logout URL    | Bright Single logout service URL (optional, required for SLO) |

![](https://files.readme.io/d27c869416dad7a79e91ad499e24f72b81d96abbaceedfaea47799062fd54ea6-image.png)

> **Important:** Bright uses the SAML NameID as the user's email address and unique identifier. Make sure your Identity Provider sends the user's email as the NameID. Otherwise, users will not be matched to their Bright accounts.

### Trusted Certificates

Bright always signs its SAML authentication and logout requests and requires the assertions from your Identity Provider to be signed as well. Certificates must therefore be exchanged in both directions.

#### Bright to IdP

Upload the exported `signing_certificate.cer` file to your Identity Provider as a trusted verification or request-signing certificate. Your IdP uses it to verify the signature of the AuthnRequests and LogoutRequests coming from Bright.

The certificate:

* Is generated by Bright specifically for your organization
* Uses RSA 2048 and SHA-256
* Is valid for 10 years

> **Note:** Some Identity Providers restrict the use of Service Provider certificates and may prevent features such as Identity Provider-initiated SSO.

![](https://files.readme.io/efbaa51554d88dc7aa2bdb1d4696e42d104126692c4c4f7805e4476e23720e9f-image.png)

#### IdP to Bright

Bright uses your Identity Provider's X.509 signing certificate to verify the signature of the SAML assertions. The certificate is taken from the IdP metadata automatically or pasted manually in Step 3.

> **Note:** Bright trusts a single IdP signing certificate at a time. If your IdP metadata contains several signing certificates, Bright uses the first one. When you rotate the certificate on the IdP side, update the Bright configuration. Alternatively, use the Metadata URL option so Bright reads the current certificate from your metadata.

### Attributes Mapping

Make sure your Identity Provider sends the user's first and last name as SAML attributes. By default, Bright looks for the following attributes:

| SAML attribute | Bright field   | Default attribute name                            |
| -------------- | -------------- | ------------------------------------------------- |
| First Name     | Given Name     | `firstName`                                       |
| Last Name      | Family Name    | `lastName`                                        |
| Email          | Email (NameID) | Taken from the SAML NameID, not from an attribute |

Example claims configuration for Azure AD:

| Claim name  | Type | Value                |
| ----------- | ---- | -------------------- |
| `email`     | SAML | `user.mail`          |
| `firstName` | SAML | `user.givenname`     |
| `lastName`  | SAML | `user.surname`       |
| `name`      | SAML | `user.principalname` |

> **Note:** The **Namespace** field must be blank to successfully complete the integration.

If your Identity Provider uses different attribute names, such as `givenName` and `surname`, and you cannot change them on the IdP side, you can tell Bright which names to use. See **Custom attributes mapping** in Step 3.

## Step 3. Configure SAML in Bright

Return to the SAML authentication page in Bright. At the top of the form, select one of the two configuration types.

### Option A: By Metadata

1. Select **By metadata**.
2. In the **Metadata URL** field, paste the metadata URL you copied from your Identity Provider.

Bright reads the Entity ID, SSO URL, signing certificate, and Single Logout URL directly from your IdP metadata and keeps them up to date. When you rotate a certificate or change an endpoint on the IdP side, no changes are needed in Bright.

![](https://files.readme.io/55db937d3181d6f2e9324b973d5fc56748b14093058b89575bbc1c0e24e40a9b-image.png)

![](https://files.readme.io/3604225732dbe584ac88e9970380318747885240243c425306b599277d6b29ff-image.png)

### Option B: Manual

1. Select **Manual**.
2. Fill in the Identity Provider details:

| Field             | Description                        |
| ----------------- | ---------------------------------- |
| Entity ID         | Your IdP Entity ID                 |
| Certificate       | Your IdP X.509 signing certificate |
| SSO URL           | Your IdP sign-on URL               |
| Single Logout URL | Your IdP logout endpoint           |

Instead of entering the values manually, click **Import from file (.XML)** and upload the metadata XML file exported from your Identity Provider. The file can be up to 100 KB. Bright parses the file and automatically fills in all four fields.

![](https://files.readme.io/8d1913ff569cd292614ebc3b4bc51eac106b34400d59ac933662a14aed27f0ff-image.png)

![](https://files.readme.io/12d52d020accc30462ec8c0dc666b00513fea895b555d808cd2c0c339d5b6a1c-image.png)

### Common Settings

Whichever option you choose, also configure the following:

* **Default Role** - The role that new members receive when logging in to Bright for the first time.
* **Custom attributes mapping** (optional) - In the **Attributes mapping** section, specify the attribute names your Identity Provider sends:
  * **First name** - Default: `firstName`
  * **Last name** - Default: `lastName`

For example, Azure AD sends its default claims under full URI names. To use them without changing anything on the Azure side, enter:

* First name: `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname`
* Last name: `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname`

Leave the fields empty to use the defaults: `firstName` and `lastName`.

![](https://files.readme.io/a06ac59f2333a4a39fa1ba01abeea817b12c86e827ffb16b842862d13ec7b292-image.png)

* **Single logout** (optional) - Select this checkbox to enable Single Logout. When enabled in Manual mode, the **Single Logout URL** field becomes required.

Click **Continue** to finish the integration process. You are redirected to your Identity Provider to complete a verification sign-in. This confirms that the configuration works end to end. Once you sign in successfully, the SAML SSO integration becomes active for your organization.

## Integration Usage

After the integration process finishes, all settings can be managed from the **Settings** page.

![](https://files.readme.io/701e5ec60c9adae5afc471fbf5254768d6d79a389adf0795a8fca524b75cc8d4-image.png)

Optionally, you can enforce SSO registration by selecting **Require your organization members to use SSO to access Bright**. When this option is selected, users can no longer sign in with an email and password. All organization members must sign in through your Identity Provider.

> **Important:** Strict enforcement of SSO for all organization members requires resetting the connection if the SSO integration breaks. If that happens, contact Bright technical support for assistance.

> **Note:** When SSO enforcement is enabled, Bright's built-in multi-factor authentication is disabled for the organization. Multi-factor authentication should be handled by your Identity Provider instead.

## User Provisioning

### Just-in-Time (JIT) Provisioning

No manual invitations are needed. When a user assigned to the SAML application on the IdP side signs in to Bright for the first time, Bright creates an account for them automatically:

* The user's email and identity are taken from the SAML NameID.
* The first and last name are taken from the mapped attributes.
* The new member receives the **Default Role** configured on the SAML authentication page.
* The new member is added to your organization's default group.

### SCIM Provisioning

System for Cross-domain Identity Management (SCIM) is a protocol for user management across multiple applications. It allows you to provision, deprovision, and update user data across multiple applications.

If your Identity Provider supports SCIM 2.0, you can configure provisioning so users and groups are synchronized automatically from your IdP to your Bright organization:

1. In the left pane, select **Settings**.
2. On the Settings page, select **Sync the groups & users from your SSO provider to Bright**.
3. Configure the SCIM integration in your Identity Provider:
   * **Tenant URL / SCIM base URL:** `https://app.brightsec.com/api/v1/scim`
   * For the EU cluster: `https://eu.brightsec.com/api/v1/scim`
   * For another cluster: `https://your-cluster-name.brightsec.com/api/v1/scim`
   * **Secret Token:** An organization API key with the `scim` scope.

Synchronized users are added to the **Members** section, and synchronized groups are added to the **Groups** section of your Bright organization.

> **Note:** If you deprovision a user from the Bright application on the IdP side, the corresponding member becomes inactive in your Bright organization and can no longer log in to Bright using SSO.

For provider-specific SCIM walkthroughs, see:

* Azure AD: Service Provider-initiated SSO and Provisioning
* Okta SSO and Provisioning

## Single Logout (SLO)

Single Logout signs users out of both Bright and your Identity Provider, so one logout action ends the session everywhere.

To enable it:

1. Make sure your Identity Provider supports SAML Single Logout and that its Single Logout URL is configured in Bright. Bright reads it from the IdP metadata automatically, or you can enter it manually.
2. Provide the Bright **Single logout service URL** to your Identity Provider. It is included in the exported `metadata.xml`.
3. On the SAML authentication page, select the **Single logout** checkbox and save the settings.

![](https://files.readme.io/6988fb57037685612171ba3f1d118fb47a4eaf876b15ec8523bf2e0276f40099-image.png)

### How It Works

* **Logout started from Bright:** When a user who signed in with SSO logs out of Bright, Bright sends a signed SAML LogoutRequest to your Identity Provider's Single Logout URL. The IdP ends the user's session and, depending on the IdP, the sessions in other connected applications. It then sends a LogoutResponse back to Bright.
* **Logout started from your Identity Provider:** When the IdP sends a LogoutRequest to the Bright Single logout service URL, Bright identifies the user by the NameID in the request, revokes all their Bright sessions and tokens, and confirms the logout to the IdP.

> **Note:** Single Logout is available only when users sign in through SAML SSO. If the **Single logout** checkbox is not selected, logging out of Bright ends the Bright session only.

## User Login Flow

### Sign In from Bright

1. On the login page, click **Single Sign On (SSO)**.

![](https://files.readme.io/e99efcd4bce70e73bde307660cb482f2f068b48b0530eacf53631ecfe50c4bee-image.png)

2. Enter the name of the Bright organization for which SAML SSO was enabled, and then click **Continue**.

![](https://files.readme.io/7d9aca356bb1261396dba704c2f39425094e1483303c9c1acfc65c555c84749c-image.png)

3. Click **Sign in with SAML**.

![](https://files.readme.io/6851d51221e7b4721b835570de55b24e800ffa3b9e4b94e9f6d258489668e3d6-image.png)

4. You are redirected to your Identity Provider's login page.
5. Enter your Identity Provider credentials. After signing in, you are redirected back to Bright.

### Sign In from Your Identity Provider

After SAML is configured, users can also sign in directly from their Identity Provider portal, such as Azure My Apps or the Okta dashboard:

1. Open your Identity Provider portal.
2. Click the Bright application.
3. You are signed in automatically.

## FAQ

### Can I configure multiple Identity Providers?

No. Each organization supports a single SSO configuration.

### What happens when I enable "Require your organization members to use SSO to access Bright"?

All users must sign in through your Identity Provider. Users who are not available in the IdP will not be able to access Bright.

### Is SCIM required?

No. You can rely on Just-in-Time provisioning or invite users manually. SCIM is optional and provides automatic user and group synchronization. It works with any SCIM 2.0-capable Identity Provider, including Azure AD and Okta.