Microsoft Azure AD (B2E)

Learn how to integrate Strivacity with Microsoft Azure AD (B2E) so that your enterprise users can log into Strivacity protected applications.

Strivacity can use Microsoft Azure AD (B2E) as a Directory Service and an Identity Provider, enabling any user accounts within Azure to log in to any Strivacity configured applications.

The integration with Azure AD uses Strivacity's Enterprise Login.

They're two steps required to setup a your Strivacity instance to use Azure AD an an Identity Provider:

Step 1: Configuring Azure AD with a Registered Application

Step 2: Configuring Strivacity to use Azure AD (as an Identity Provider)

Step 1: Configuring Azure AD with a Registered Application

1) Login into portal.azure.com

2) Select Azure Active Directory

3) Select App Registrations, as below

Click to EnlargeClick to Enlarge

4) Click 'New registration' and enter the information as shown in the table below and click Register

Click to EnlargeClick to Enlarge
Field NameValue/Description
NameEnter a user friendly display name for the application
Supported Account TypesThis defines the scope of who can use the application. You will need to determine this based upon your own use case
Redirect URIThis will be the callback URI to your Strivacity instance, in the format of https://[Strivacity instance URL]/login/api/v1/socialCallback

5) The details for the newly created Strivacity application will now be displayed as shown below:

Click to EnlargeClick to Enlarge

6) Next, select Certificates and Secrets from the left hand menu. The Certificates and Secrets page will be displayed, as shown below:

Click to EnlargeClick to Enlarge

7) Next, select '+ New client secret'

Click to EnlargeClick to Enlarge

8) Upon clicking the Add button, the new client secret information will be displayed, as shown below:

Click to EnlargeClick to Enlarge

9) This completed the setup and configuration of Azure AD with a registered application for Strivacity to use. You can now proceed to step 2, below.

Step 2: Configuring Strivacity to use Azure AD (as an Identity Provider)

Now that Azure AD (B2E) has been configured to use Strivacity as an external application, we now need to setup Strivacity to use Azure AD as an (external) Identity Provider.

1) Start by logging into the Admin Console using an admin account

2) From the left-hand menu, select External Login, then Enterprise Login

3) From the Social Login screen, click the + Create Enterprise Login Provider button from the top right hand corner

4) From the Create Enterprise Login Provider screen click the OIDC icon as shown below:

Click to EnlargeClick to Enlarge

5) The Create OIDC Login Provider screen will now be displayed as shown below:

Click to EnlargeClick to Enlarge

The table below provides guidance on how to complete and use these fields:

Field NameDescription
NameDefine a name for this Enterprise OIDC Login Provider. This name is used to refer to this provider throughout Strivacity.
Login Button TextThis is the text that is displayed on the login button on the log-in screen. If no custom text is displayed here then the name will be used.
DescriptionDefine a description to help other Strivacity admins understand what this provider is used for.
Client IDThe Client ID was previously automatically generated by Azure AD during Step 5 above. Microsoft refer to this as the Application (client) ID.
Client SecretThe Client Secret was created in Step 6 above with the label Strivacity Strivacity.
Auto DiscoveryThe Azure AD (B2E) auto-discovery URL should be entered using the following format: https://login.microsoftonline.com[Tenant ID]/.well-known/openid-configuration. The Tenant ID is available from within the Azure Portal.
Authorization EndpointThe Authorization Endpoint will be displayed here based on auto-configuration from the auto-discovery URL.
Token EndpointThe Token Endpoint will be displayed here based on auto-configuration from the auto-discovery URL.
IssuerAny Issuer Information will be displayed here based on auto-configuration from the auto-discovery URL.
Userinfo EndpointThe Userinfo Endpoint will be displayed here based on auto-configuration from the auto-discovery URL.
Scopes: OpenIDThe default OpenID Connect scopes can be enabled or disabled.
Scopes: ExtraAny additional scopes can be added here.
Customer Data HandlingIf you choose to synchronize and store any profile data at each login, then Strivacity will retrieve and store this information which will be visible to the customer in the My Account page and to any Strivacity Admin's when managing the customer identity.