---
updatedAt: 2026-09-11T14:12:02.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/engagement/llms.txt
---

# Single sign-on and authorization

We've enhanced our existing Single Sign-On (SSO) feature, originally focused on authentication alone, by introducing the capability to manage authorization as well. You control user roles through identity providers like Azure Active Directory and Okta. The process of automatically creating users has been streamlined, eliminating the need for invitation emails.

This update simplifies user setup, enhances access management, and strengthens account security.

<Callout icon="🚧" theme="warn">
  For this feature, you need to have SSO authentication configured. For details, read the [SSO](https://documentation.bloomreach.com/engagement/docs/bloomreach-engagement-single-sign-on) article.
</Callout>

## How it works

Upon SSO login to the Marketing app, the user is granted roles based on the mapping role. This mapping role corresponds to the `role_mapping` field provided by the identity provider.

If a user is not already present in the Marketing application, they are automatically generated as a new user.

When Single Sign-On Authorization is deactivated (as per the default setting), new users must be manually invited to the project, with roles assigned manually. Those already created through SSO will still exist and will possess the same roles assigned to them via SSO.

## Configure SSO Authorization in Azure Active Directory

1. In your Azure Active Directory dashboard, navigate to **Enterprise Applications** located in the left section of the Manage menu.
2. Choose the SSO application you've set up under the [Setting up Azure Active Directory](https://documentation.bloomreach.com/engagement/docs/bloomreach-engagement-single-sign-on#setting-up-azure-active-directory) chapter.
3. Within the Manage menu on the left, select **Single Sign-On**.
4. Click on the **Edit** link within the **Attributes & Claims** section.
5. Click the upper left button, followed by **Add new claim**.
6. Under **Additional claims**, create a claim named *role\_mapping*, and assign a value of your preference (for example, user.department).

<Image src="https://files.readme.io/897a593-image1.png" align="center" />

The value within the SAML claim will be sent as an attribute of the *role\_mapping*, which can be a field from the user's profile, a user group, or even a fixed string.

This designated value will later be compared against the names of mapping roles within the Marketing application.

## Configure SSO Authorization in Okta

1. Within your Okta administration dashboard, navigate to the left-side menu and locate **Applications**.
2. Choose the SSO application that you previously configured using the instructions in the chapter [Setting up Okta SSO](https://documentation.bloomreach.com/engagement/docs/bloomreach-engagement-single-sign-on#setting-up-okta-sso).
3. In the **General** tab, find the **SAML Settings** section and click the **Edit** link.
4. Click **Next**, and in the Configure SAML section, scroll down to find the **Attribute Statements** section.
5. Add an attribute with the exact name *role\_mapping*, and specify a value of your preference (as shown in the example, using user.division).

<Image src="https://files.readme.io/d54ca9b-image3.png" align="center" />

The chosen value within the SAML claim will be included as part of the *role\_mapping* attribute. This value can be sourced from a user profile field, a user group, or even set as a fixed string value.

Subsequently, this value will be compared against the names of mapping roles within the Marketing application for role assignment.

## Set up SSO authorization in the Marketing application

To establish SSO authorization for the Marketing application, you'll need the authority of an **SSO Account Admin** role.

Users with this role can also request a unique link that will be sent to their email address and can be used to log in in case of a problem with SSO. The link can be requested on the instance where the account is and has the following format: *instance*app\_domain/recovery-access\_ (for example, <https://app.exponea.com/recovery-access>).

Here's the step-by-step process:

1. Start by configuring the mapping roles.
2. Navigate to **Settings**> **Project settings** > **Single Sign-On** > **Mapping roles** and click on the **Add mapping** role button.
3. Enter your desired mapping role name. Ensure that the name of this mapping role matches the value of the role\_mapping field sent by the identity provider.

<Image src="https://files.readme.io/466ea03-image8.png" align="center" />

4. Choose at least one scope (Account or Project) and allocate one or more roles for this specific scope. Remember that each scope can only be used once per mapping role. You can always modify the roles you've assigned later.

<Callout icon="🚧" theme="warn">
  ### Requirement

  Before activating the SSO authorization, ensure that your active user has properly configured a SAML claim named role_mapping within your identity provider. Check that roles are accurately configured within your mapping role. Failing to do so, you risk not being able to login into an Marketing application ([troubleshooting](https://documentation.bloomreach.com/engagement/docs/bloomreach-engagement-single-sign-on-authorization#troubleshooting-sso-authorization)) or your users might receive incorrect roles.
</Callout>

5. Once you've successfully set up your mapping roles, you're ready to proceed to **Settings** > **Project Settings** > **Single Sign-On** > **Preferences**.
6. At the bottom of the page, check the **Enable Single Sign-On Authorization** field. Remember, this option can be disabled later by the **SSO Account Admin** role.

<Image src="https://files.readme.io/fb61ee4-image7.png" align="center" />

## Disabled access management

If a user's role is managed by SSO Authorization, direct alterations to the role within the Marketing application's Access Management settings are **not** possible.

<Image src="https://files.readme.io/7c253d5-image4.png" align="center" />

However, roles can be changed through:

* The **Single sign-on settings** for Mapping roles within the Marketing application. Changing roles tied to the mapping will impact all users under that mapping.
* **Modifying the value** of the *role\_mapping* field sent by the identity provider for a specific user. These changes will affect a particular identity provider user.

## User Login with SSO authorization

Once the mapping role is configured, logging into the application is restricted to users with the appropriate *role\_mapping* field from the identity provider.

These users can access the Marketing application solely via SSO, either from the identity provider dashboard or by clicking the Continue with SAML SSO button.

Role assignment occurs during the login process, and users will encounter a login announcement.

<Image src="https://files.readme.io/f5f67ef-image6.png" align="center" />

Following successful application login, users will possess roles assigned in line with the matched mapping role.

## Troubleshooting SSO authorization

In case the role\_mapping field sent by the identity provider is not defined, the user will encounter a login error.

Similarly, if the role\_mapping field provided by the identity provider doesn't align with any mapping role name within the user's [account](https://documentation.bloomreach.com/engagement/docs/access-management#identity-domain), a login error will be displayed.

## Use case examples

* Direct management of user roles from the identity provider.
* User creation without the necessity for sending invitations.

## Limitations

* Available only for accounts with the SSO module enabled.
* Roles can be managed only for the native account.
* Accesses to other than native accounts are managed from the app.
* G-Suite always manages BR users (can be managed by customers SSO and need to be invited).
* Propagation of roles takes approximately 60 seconds.
* Changes are applied only during login.
* It is impossible to manage user roles from the App if the user logs over to SSO with authorization enabled.
* Only the SSO account admin can disable SSO authorization and manage mapping groups.