Skip to main content
Version: v3.3.0

How to configure SSO for Microsoft work accounts in OnBoard™ IoT Security

tip

The Single Sign-On (SSO) feature in OnBoard™ IoT Security (OBIS) allows users to sign in with their company email through the Enterprise Identity Provider (IdP). OBIS will automatically create an account for them and assign default role permissions.

This article will guide you on how to configure and enable the Sign in with SSO feature in OBIS for Microsoft work accounts. Once enabled, users can sign in to OBIS using their work accounts and passwords.

Prerequisites​

Before getting started, please ensure that you have obtained the Redirect URL required to configure SSO from Snowball.

Instructions​

  1. Sign in to the Microsoft Azure portal.

  2. In the search box at the top, search for and select Microsoft Entra ID.

  3. In the left menu, click Manage > App registrations > New registration. On the Register an application page, enter the application name and then select the Supported account types.

  4. In the Redirect URI area, select Web as the platform, enter the Redirect URL obtained from Snowball, and then click Register.

    Screenshot displays how to set the Redirect URI

    If you need to change the Redirect URI later, click Manage > Authentication (Preview) in the left menu of the application, and then make the edit on the Redirect URI configuration tab.

    Screenshot displays how to change the Redirect URI

  5. In the left menu of the application, click Manage > Authentication (Preview) > Settings, and then select the Access tokens (used for implicit flows) and ID tokens (used for implicit and hybrid flows) checkboxes.

    tip

    The Access token is used to call the API for retrieving user information, while the ID token is used for parameter validation during the SSO sign-in process.

    Screenshot displays how to set the Access token and ID token

  6. In the left menu of the application, click Manage > Certificates & secrets > Client secrets > New client secret. On the Add a client secret panel, enter the client secret description, select the expiration date, and then click Add.

  7. Record the client secret value. This secret value is never displayed again after you leave this page.

    tip

    The client secret of the currently authorized application is used to verify application information through callbacks, ensuring that the source of the authorization request is trusted.

    Screenshot displays how to set the client secret

  8. In the left menu of the application, click Manage > Token configuration > Add optional claim, then configure and add the ID token and access token separately.

    tip

    The optional claims correspond to the information returned by Microsoft to the platform during the authentication callback.

    • Select ID as the Token type, and then select email, family_name, given_name, and preferred_username
    • Select Access as the Token type, and then select email, family_name, given_name, and preferred_username

    Screenshot displays how to set the optional claim

  9. In the left menu of the application, click Manage > API permissions > Add a permission. On the Request API permissions panel, select Microsoft Graph > Delegated permissions. In the OpenId permissions area, select the corresponding permissions (it is recommended to select email, openid, and profile), and then click Add permissions.

    tip

    The API permissions configured here correspond to the scope settings in OBIS for SSO.

    Screenshot displays how to set the permission

  10. Once the application configuration is complete, please provide the following information to Snowball, so that we can enable the Sign in with SSO feature for your tenant in OBIS.

    • Email Domain: The email domain of your Microsoft work account
    • Issuer: On the Overview page of the application, click Endpoints, and then copy the relevant Authority URL
    • Client ID: On the Overview page of the application, copy the Application (client) ID
    • Client Key: The client secret recorded in step 7

    Screenshot displays the application information

Footer Icon
Download IconDownload User Manual