Category

How to Set Up BoldDesk with Azure AD Single Sign-On (SSO)

Updated:

In BoldDesk, you can configure Single Sign-On (SSO) using OAuth 2.0, OpenID Connect, and JWT. This guide walks you through the steps to integrate BoldDesk with Azure Active Directory (Azure AD) for Single Sign-On (SSO), enabling secure and seamless access for users using their organizational credentials.

When configuring SSO, BoldDesk maps user identities using available claims from the identity provider. By default, claim resolution follows a predefined order, and if a valid email address is available in the preferred claim, it is used for user matching. If your identity provider requires a different claim to be prioritized (for example, preferred_username instead of UPN), the mapping behavior can be customized to align with your organization’s authentication requirements.

Configure Azure AD for OpenID Connect

Follow the given steps to configure the Azure AD SSO login in BoldDesk:

  1. Go to Admin > Customer Portal > Login

  2. Select OpenID Connect.

    Open ID Connect.png

  3. Go to your Azure AD portal and navigate to Azure Active AD > App registrations > New registration.

    Azure AD.png

  4. You can either use your existing application or create a new one.

    Existing Azure AD.png

  5. After creating the application, you can view it on the overview page as shown:

    Creating Application.png

  6. To generate the client credentials, click on the Add a certificate or secret option and generate the secret keys.

    Add Certificate.png

  7. Copy the ‘Value’ and use it instead of the ‘Secret ID’. Refer to the screenshot below.

    Secret_Value.png

  8. Go to overview and click the Add redirect URL.

  9. Then select the Add a Platform option and choose “Web”, copy the callback URL from the BoldDesk SSO configuration page and paste it there.

  10. Enable the ID Tokens checkbox and configure.

    ID Tokens.png

  11. Now go to your BoldDesk Portal

  • Client ID: This will be available on the Azure AD App’s overview page.
  • Client Secret: Paste the secret you created in the Azure AD Application.
  • Authority: To configure the authority URL, use the following format:
    • https://login.microsoftonline.com/<Directory (tenant) ID>/

    • For example, if the Directory (tenant) ID in the Azure portal is 7e6ea6c7-a751-4b0d-bbb0-8cf17fe85dbb, the authority URL is https://login.microsoftonline.com/7e6ea6c7-a751-4b0d-bbb0-8cf17fe85dbb/.

    • Tenant ID: Copy the Directory (tenant) ID from the Azure portal.

      Tenant ID.png


      Token ID.png

Configure OAuth 2.0 in Azure AD

To use OAuth 2.0, all the above steps are the same except for the endpoints. To get the endpoints, please follow the steps below:

  1. Go to the Overview section in the Azure AD portal.

    OAuth 2.png

  • Token endpoint: Get the first token endpoint. Use the version 2 endpoints.

  • Authority: Get the Authority endpoint from the list. Use the version 2 endpoints.

  • For the user info endpoint, use this https://graph.microsoft.com/oidc/userinfo.

    Endpoint.png

  1. After updating, go to your login page; you can see the login option enabled.

    Login Enabled.png

  • When Microsoft Entra ID SSO is enabled, users should sign in with the same identity/email address that is associated with their BoldDesk agent or customer account.

  • For Microsoft Entra ID provisioning, BoldDesk uses the configured Entra attribute mappings to match and update users. In the documented default mapping, userPrincipalName maps to userName as the matching attribute, and mail maps to the user’s work email address.

  • If the Entra sign-in identity or mapped email does not match the expected BoldDesk user account, the user may not receive the correct agent or customer access.

  • For Azure AD/Microsoft Entra ID OpenID Connect SSO, BoldDesk uses the configured identity claims to identify the signing-in user. By default, BoldDesk follows this claim lookup order:
    UPN → preferred_username → Email

  • If the UPN returned by Microsoft Entra ID does not match the existing BoldDesk user email address, BoldDesk may identify the user using the UPN value and create or associate a different user account.

Identity Provider Compatibility

BoldDesk supports integration with any Identity Provider (IdP) using OpenID Connect, OAuth 2.0, or JWT. The same configuration steps apply to both the Customer Portal and Agent Portal.

Claim Mapping and UPN Behavior

  • BoldDesk does not support claim mapping for OpenID Connect and uses User Principal Name (UPN) as the primary login identifier.
  • If an Azure AD configuration requires email addresses as login tokens, an organization can:
    • Modify the Azure AD UPN to align with the intended email format, or
    • Assign UPN a non-email value so BoldDesk falls back to the email claim for login verification.

UPN is the default login attribute in Azure AD and is designed to uniquely identify users for token issuance. Relying only on email can introduce ambiguity or inconsistency in some environments. To keep BoldDesk user identification reliable, align UPN with the intended login format or use the fallback behavior intentionally.

Troubleshooting Common Issues

The common issues are listed below:

Unable to Retrieve Email Address

If you experience an issue such as “Unable to get the email address from the selected identity provider” after configuring the SSO login (this issue is that BoldDesk is unable to retrieve the email address information from the Identity Provider), please follow the procedures to resolve it.

Retrieve Email Error.png

On the application Overview page, find the Token configuration as shown in the screenshot below.

  1. Click the Add optional claim option.

  2. If you used OpenID Connect, select the ID as the token type on the Add optional claim screen.

    • Select the email and preferred username under Claim.
  3. If you used OAuth, select Access as the token type. Both OpenID and OAuth use the same claim selections.

    Optional Claim.png

  4. Ensure that the registered users in Azure Active Directory have proper email details in all the necessary columns as shown in the screenshot.

    Azure DIrectory.png

Unable to Receive Access Token

You may face an error message stating that the identity provider cannot receive the access token. Therefore, you should enable both the access token and the ID token for the app. Normally, OAuth 2.0 will use the access token, and OpenID will use the ID token.

Access Token.png

  • BoldDesk doesn’t support claim mapping for OpenID Connect and uses the User Principal Name (UPN) as the primary login identifier. To address the Azure AD configuration that requires email addresses as login tokens, you can either modify the UPN in Azure AD to align with the preferred email format or assign it a non-email value. This will prompt the system to use the email claim for login verification.
  • UPN (User Principal Name) is the default and most reliable login attribute in Azure AD, uniquely identifying users for secure authentication and token issuance. Using email instead can lead to ambiguity, spoofing risks, and inconsistencies—especially in hybrid environments. If a claims mapping policy excludes UPN and includes only email, validation may still succeed, but it introduces potential reliability and security concerns. To ensure accurate user identification in BoldDesk, configure the UPN to match the intended login email format, or use a non‑email value for UPN, allowing BoldDesk to fall back to the email attribute for login validation.

Login Page Looping Issue

If your screen keeps looping on the login page, create a new client secret, copy the value, and use it for configuration.

Secret_Value.png

Frequently Asked Questions

  1. Which SSO protocols does BoldDesk support?
    BoldDesk supports OpenID Connect, OAuth 2.0, and JWT for Single Sign-On.

  2. What claim does BoldDesk use to identify users in Azure AD SSO?
    BoldDesk uses the configured identity claims and follows this lookup order by default: UPN → preferred_username → Email

  3. Can I use email instead of UPN for login?
    Yes. If UPN is set to a non-email format, BoldDesk can fall back to using the email claim.

  4. Where do I configure OpenID Connect in BoldDesk?
    Go to Admin > Customer Portal > Login, then select OpenID Connect.

  5. Which Azure AD secret value should I copy into BoldDesk?
    Copy the client secret Value. Do not use the Secret ID.

  6. What redirect URL do I register in Azure AD?
    Register the callback/redirect URL shown on the BoldDesk SSO configuration page.

  7. What is the OAuth 2.0 user info endpoint for Azure AD in this setup?
    Use https://graph.microsoft.com/oidc/userinfo.

  8. Do Customer Portal and Agent Portal require separate SSO configuration?
    Yes. The Customer Portal and Agent Portal operate as separate applications in BoldDesk, and each requires its own authentication configuration for OpenID Connect and/or OAuth 2.0.

Related Articles

  1. How to Configure Customer Portal Login to Bypass the Sign‑In Page
  2. Installing and Configuring Azure DevOps in BoldDesk
  3. How to Create and Link an Azure DevOps Work Item from a BoldDesk Ticket
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied
Access denied
Access denied

No articles or sections found
No articles or sections found