SSO with Azure AD B2C

In this article we'll list the steps of how you can set up SSO with Azure Active Directory B2C.

You can learn more details about SSO in our main article here.

Note: The activation of the SSO for Member Tools disables:

- The standard login with OfficeRnD user and password

- The Public Calendar Page and Sign-up Page

- Reset password links

- Token for auth in the invite to portal email

Table of Contents

Setting up SSO with Azure

  1. In OfficeRnD  you can go to "Settings" -> "Integrations" and add Azure B2C Members SSO Authentication.
    Click "Configure" and note down the Return URL read-only text.
    You are going to use it shortly.
    3.png

  2. Open the Azure portal - https://portal.azure.com/
    Select the Azure "AD B2C module".
    1.png

  3. Register a New Application by navigating to "App registrations" -> "+ New Application".
    2.png

  4. While registering the application you will be asked for a Web Redirect URL.
    Paste the "Return URL" copied from step 1.
    4.png

  5. After successfully registering the application note down the "Application (client) ID" and copy it in a safe place.
    5.png

  6. Then from the sidebar, navigate to "Certificates & secrets" and create a "New client secret".
    6.png

  7. Give your secret a descriptive name,  set an expiration period (if necessary) and save it.
    7.png

  8. After adding the secret, note down text in the "Value" column and copy it.
    8.png

  9. In OfficeRnD - go to "Settings"->"Integrations" and open the Azure B2C Members SSO Authentication configuration dialog and paste both the client ID and client secret you acquired in the previous steps.
    9.png

Acquiring the metadata URLs

  1. In the Azure portal, from the sidebar, navigate to "User flows" and create a "New user flow", or select an existing user flow.
    10.png

  2. Select "Sign up & Sign in" (Recommended Version) and configure the user flow to your requirements.

    Note: When configuring the user flow, make sure to check the Return claims for Email Addresses (plural) in the "5. User attributes and token claims" section.
    11.png

  3. Then from the "User flow" details page, click "Run user flow", which will open a sidebar on the right. Copy the URL from the sidebar.
    12.png

  4. To allow your users to seamlessly reset their password, register a "Reset Password (Recommended Version) flow".
    Don't forget to check the "Return claims" as in the previous step.
    13.png
  5. Note down and copy the URL from the sidebar for the Reset Password.

  6. In OfficeRnD - with the configuration dialog open, paste both URLs from the previous steps.
    14.png

  7. In OfficeRnD - make sure the Claims Emails field contains the emails value.
    Click "Update" to save the configuration.

  8. Open your browser in Incognito mode and navigate to your members portal.
    You should now be able to authenticate with Azure.
    15.png

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.