License AdministratorsSAML Single Sign-On (SSO)Configure SAML SSO with Entra ID

Configure SAML SSO with Microsoft Entra ID

This guide walks you through configuring SAML Single Sign-On for Bruno using Microsoft Entra ID (formerly Azure Active Directory) as your identity provider.

Before you begin, make sure you have completed the prerequisites and have admin access to both Microsoft Entra ID and the Bruno License Portal.

Configure SSO in Bruno

Before configuring a SAML application in Microsoft Entra ID, first configure SSO in Bruno.

  1. Log in to the Bruno License Portal
  2. Navigate to SettingsSSO in the left sidebar
Bruno SSO Configuration settings page
  1. Toggle the Enable SSO switch on

  2. Note the following values (you’ll need these when configuring Entra ID):

    • SAML ACS URL: Copy this URL exactly as shown in Bruno
    • SP Issuer ID / Entity ID: Set your own unique identifier (e.g., bruno-sso, bruno-entra, your-company-bruno, etc.)
Bruno SSO Configuration settings page

Keep this page open in a separate tab - you’ll return here after configuring Entra ID to complete the Bruno SSO setup.

Configure SSO with Microsoft Entra ID

Step 1: Create a New Enterprise Application

  1. Log in to the Microsoft Entra admin center
  2. On the left sidebar, navigate to Enterprise apps+ New application
  3. Click Create your own application
  4. Enter the application name: Set your own unique identifier (e.g., Bruno, Bruno-SAML-App, etc.)
  5. Select Integrate any other application you don’t find in the gallery (Non-gallery)
  6. Click Create
Select SAML as single sign-on method in Entra ID

Step 2: Select SAML as Single Sign-On Method

  1. In the created Enterprise Application, navigate to ManageSingle sign-on in the left sidebar
  2. Select SAML as the single sign-on method
Select SAML as single sign-on method in Entra ID

Step 3: Configure Basic SAML Configuration

  1. Under Single sign-on section in the Basic SAML Configuration section, click Edit
  2. Copy the values from the Bruno SSO settings page and paste them into your SAML configuration in Microsoft Entra ID:
    • Identifier (Entity ID): Paste the SP Issuer ID / Entity ID value from the Bruno License Portal
    • Reply URL (Assertion Consumer Service URL): Copy and paste the SAML ACS URL from the Bruno License Portal
  3. Click Save
Configure basic SAML settings in Entra ID
⚠️

Critical: The Entity ID in Entra ID must match EXACTLY what you configured in Bruno’s SP Issuer ID / Entity ID field. A mismatch will cause authentication failures.

Step 4: Configure Attributes & Claims

Bruno requires three specific SAML attributes to be configured in Entra ID:

  • Unique User Identifier (Name ID), roles, and fullName

These attributes map user information from Entra ID to your Bruno subscription, ensuring users get the correct access levels.

How Attribute Mapping Works:

  • User Identification: Bruno uses the email address (NameID) to match the SSO user with existing Bruno users in your subscription
  • Role Assignment: The roles attribute determines whether the user gets admin or standard access in Bruno
  • Profile Information: The fullName attribute populates the user’s display name in Bruno

Required Claims

In the Attributes & Claims section:

  1. Click Edit
Configure attributes and claims in Entra ID
  1. Delete any existing claims that are not on this list
  2. You will now update the claims to match the following:
Claim NameSource AttributeNotes
Unique User Identifier (Name ID)user.mailRequired for user identification.
rolesStatic value, user attribute, or transformation - e.g., user.assignedroles, user.department, user.jobtitle, etc.Any role value from Entra ID. Can be mapped to existing user attributes or group membership.
fullNameTransformation: user.givenname + " " + user.surname or equivalent attributeRepresents the combined user’s first and last name.

Configuring the Unique User Identifier (Name ID) claim

This claim is required for user identification. It will be mapped to the user’s email address in Entra ID.

  1. Click the Unique User Identifier claim
  2. Select the Source Attribute option
  3. Choose user.mail as the attribute
  4. Click Save
Configure unique user identifier in Entra ID

Configuring the roles claim

The roles claim will represent the user’s roles in Bruno. This role value will be mapped to Bruno access levels for the License Portal and for License Activation. These roles could be hardcoded, mapped to existing user attributes, originate from App Roles, etc.

On the Attributes & Claims page:

  1. Click Add new claim

  2. Enter roles as the name

  3. Configure the claim as follows:

    • Map to existing user attribute:
      • Under Source, select Attribute
      • Choose an existing user attribute like user.assignedroles, user.department, user.jobtitle, or custom attributes
  4. Click Save

Configure roles claim in Entra ID

Important: The role value sent by Entra ID will be mapped to Bruno access levels in the License Portal’s SSO Settings. You’ll configure which role values correspond to admin or user access in Bruno (see Step 2 in the Bruno configuration section below).

Example Scenarios:

  • If you set a static value of Engineering, you’ll add the value Engineering in the Bruno License Portal to the corresponding Admin or User role field
  • If you map to user.department and a user’s department is IT, you’ll add IT to the appropriate role field in the Bruno License Portal

Configuring the fullName claim

The fullName claim represents the user’s full name. This may already be available in your Entra ID user profile as a single field (e.g., user.displayname). If so, you can map the fullName attribute directly to that field.

If a full name field is not available, you can concatenate the first and last name fields using a transformation as follows:

On the Attributes & Claims page:

  1. Click Add new claim
  2. Enter fullName as the name
  3. Under Source, select Transformation
  4. In Manage Transformation, configure the transformation:
    • Transformation: Join()
    • Parameter 1: user.givenname
    • Separator: (space)
    • Parameter 2: user.surname
  5. Click Save
Configure fullName claim in Entra ID

Finalized Attributes & Claims Configuration

Return to the Attributes & Claims page and verify the following:

  1. Any other claims that are not shown below have been deleted
  2. The Unique User Identifier (Name ID), roles, and fullName claims are configured as shown above
Finalized attributes and claims configuration in Entra ID
⚠️

Important: Both roles and fullName attributes are required for Bruno SAML SSO to function correctly. The attribute names are case-sensitive and must match the appropriate values configured in Entra ID.

Finish SSO Configuration in Bruno

Step 1: Add SSO URL to Bruno License Portal

IdP Login URL / SSO URL

  1. Return to the Enterprise Application page and navigate to ManageSingle sign-on in the left sidebar
  2. In the Set up ‘AppName’ section 4, copy the following value:
    • Login URL: Copy this URL
Copy SSO URL from Entra ID
  1. Return to the Bruno License Portal tab you opened from the earlier configuration
  2. Navigate to SettingsSSO (if not already there)
  3. Under SAML Configuration paste the Login URL from Entra ID into the IdP Login URL / SSO URL field
Paste SSO URL into Bruno SSO settings

Step 2: Add IdP Certificate to Bruno License Portal

Entra ID IdP Certificate

  1. In the SAML Certificates section 3:
    • Certificate (Base64): Download the certificate
Download SAML certificate from Entra ID
  1. Open the downloaded certificate file and copy the contents (include the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines)
  2. Return to the Bruno License Portal tab
  3. Under SAML Configuration paste the certificate contents into the IdP Certificate field
Paste SAML certificate into Bruno SSO settings

Step 3: Map the role values from Entra ID to Bruno access levels

  1. Under the Bruno License Portal in the SSO Configuration page, scroll down to the Role Mapping section

  2. Admin Roles: Enter the role values (comma-separated) that will have admin access to the Bruno License Portal

    • Example: admin,BrunoAdmin,IT-Administrators
    • These values must match what you configured in the roles attribute in Entra ID
    • Users with these roles can access the admin panel and manage licenses
  3. User Roles: Enter the role values (comma-separated) that should have user access to Bruno

    • Example: user,Engineering,Developers,QA
    • These values must match what you configured in the roles attribute in Entra ID
    • Users with these roles will be able to activate their Bruno licenses with SSO. They will not have access to the admin panel.
Configure role mapping in Bruno License Portal

How Role Mapping Works:

The role value you configured in Entra ID’s roles claim will be sent in the SAML assertion. Bruno will check if this value matches any role in the “Admin Roles” or “User Roles” fields.

Example:

  • In Entra ID, you set the roles claim to map to user.department
  • A user’s department is Engineering
  • In Bruno Admin Roles, you enter: admin,IT
  • In Bruno User Roles, you enter: user,Engineering,QA
  • Result: Users from the Engineering department get standard access (matches “Engineering” in User Roles)
⚠️

Important: Role values are case-sensitive. Ensure the values in Entra ID’s roles claim match exactly with the values you enter in Bruno’s Admin Roles or User Roles fields.

Step 5: Configure Session Settings

  1. Scroll down to the Session Timeout section:
    • Set the session timeout in seconds (default: 3600 = 1 hour)
  2. Click Save Configuration to apply your SAML SSO configuration

Test Your SAML Configuration

Assign Users or Groups

  1. In your Entra ID Enterprise Application, navigate to ManageUsers and groups in the left sidebar
  2. Click Add user/group
Assign users or groups to Bruno app in Entra ID
  1. Select the users or groups that should have access to Bruno, if using App Roles they can be assigned here
  2. Click Assign

Test SSO Login

  1. Navigate to the Bruno License Portal (https://license.usebruno.com/)
  2. Enter the email address of a user assigned to the Bruno app in Entra ID
  3. Click Login with SSO
  4. You should be redirected to Entra ID to authenticate
Login with SSO in Bruno License Portal
  1. If your user is an admin in Bruno and contains the correct role mapping, you should be redirected back to the Bruno License Portal

Next Steps

After setting up SSO with Microsoft Entra ID, you can:

For more information about configuring SAML SSO and managing roles in Microsoft Entra ID, refer to these Microsoft documentation resources: