OpenID Connect Authentication Definition with Microsoft Entra (Azure)

To configure the OpenID Connect authentication method with Microsoft Entra, please follow below steps.

Note

Please note that this is a general guide, and specific details may vary depending on your Microsoft Entra setup. Refer to Microsoft Entra documentation for precise configuration steps.

Create user in Microsoft Entra ID

  1. Go to the Microsoft Entra Admin Center and log in with your Microsoft Entra credentials.

  2. In the left-hand menu, select Entra ID > Users > All users.

../../_images/azure-ad.png
  1. Click the + New user and select Create new user from the drop-down list.

../../_images/azure-create-user.png
  1. In the User principal name field, enter the username of the user account. For example, user1@fudosecurity.com.

  2. In the Display name field, provide the name of the user of the account.

  3. Provide the password phrase in the Password field or click the Auto-generate password option to generate the password.

  4. Select the Account enabled option.

  5. In the Properties tab, under the Contact Information, in the Email field provide the email address. For example, user1@fudosecurity.com.

  6. Enter the details required for the user under the Properties and Assignments tabs.

  7. Click Create.

Register Fudo in Microsoft Entra ID

  1. In the left-hand menu, select Entra ID > Enterprise apps.

../../_images/azure-menu-apps.png
  1. Click the + New application button to create a new application.

../../_images/azure-new-app.png
  1. Click the + Create your own application button.

  2. In the right-hand dialog box provide the name of your app and chose Register an application to integrate with Microsoft Entra ID (App you’re developing) option.

  3. Click Create.

../../_images/azure-new-app-2.png
  1. In the next page, under the Supported account types select the Single tenant only option.

  2. Under the Redirect URI section select Web from the Select a platform drop-down list and provide the address of the Fudo Enterprise Access Gateway with the /oidc suffix. For example, https://10.0.58.239/oidc or https://fudo.example.com/oidc.

Note

You can find the User Access Gateway address under the Settings > Network configuration menu in the Fudo Enterprise. For more information, please follow the Network Settings section.

../../_images/azure-new-app-3.png
  1. Click Register to create the application.

  2. In the left-hand menu, select Entra ID > App registrations.

  3. Change to All applications tab and find created application on the applications list.

  4. Click on it’s name to edit the parameters. Note down the Application (client) ID and Directory (tenant) ID as you will need these later.

../../_images/azure-client-id.png

Configure Authentication Setting

  1. In the left-hand menu, select Entra ID > App registrations.

  2. Find created application on the applications list and click on it’s name to edit the parameters.

  3. Under the Manage section, click on Authentication.

  4. In the Redirect URI configuration tab click Add Redirect URI(s).

  5. Select Web.

../../_images/azure-add-url-1.png
  1. Provide the address following to the Fudo Enterprise Admin Panel with the /oidc suffix. For example, https://10.0.58.238/oidc or https://fudo.example.com/oidc.

  2. Click Configure.

../../_images/azure-add-url-2.png
  1. Go to Settings tab.

  2. In the Implicit grant and hybrid flows section, check Access tokens and ID tokens options.

../../_images/azure-auth.png
  1. In the App instance property lock section, click Configure and uncheck the Enable property lock option in the right-hand dialog box. Click Save to close the dialog box.

../../_images/azure-disable-property-lock.png
  1. Click Save to save your authentication settings.

Generate Client Secret

  1. In your application’s settings, navigate to the Certificates & secrets section.

  2. Go to Client secrets tab and click + New client secret.

  3. Provide a description, select the desired expiration period, and click Add.

Warning

Note down the generated Secret ID and Value as you will need it for Fudo Enterprise configuration. Once saved, the secret value will no longer be visible.

../../_images/azure-cert.png

Token Configuration

  1. In your application’s settings, navigate to the Token Configuration section.

  2. Click + Add optional claim.

  3. In the Token type select ID.

  4. In the Claim list select upn.

  5. Click Add.

../../_images/azure-token-config.png

Get OpenID Connect Configuration URL

  1. In your application’s settings, navigate to the Overview section.

  2. Open the Endpoints tab, and look for the OpenID Connect metadata document URL. This is your OpenID Connect Configuration URL. Copy it as you’ll need it for Fudo Enterprise configuration.

../../_images/azure-url.png

Configure OpenID Connect authentication method in Fudo

  1. Go to your Fudo Enterprise Admin Panel.

  1. Select Settings > Authentication.

  2. Choose OpenID Connect tab.

  3. Click Add OpenID Connect.

  4. Check the Enabled option to globally enable OpenID Connect authentication.

  5. Provide Name (Entra ID or any other Identity Provider).

  6. Set the Bind address to Any.

  7. Input the Configuration URL (the OpenID Connect metadata document URL from Microsoft Entra).

  8. Provide the Client ID (the Application (client) ID from Microsoft Entra).

  9. Provide the Client secret (the certificate Value from Microsoft Entra).

../../_images/azure-fudo-conf.png
  1. Add Username mapping and Email mapping (optional). Those fields are useful when user’s name has different naming convention.

  2. Click Save.

Note

To learn more about the algorithm used to determine the user’s identity, visit OpenID Connect Authentication Definition section.

Create new user in Fudo

  1. Select User Management > Users and then click Add user.

  1. Enter user name (user1).

  2. In the User Data tab, in the AD domain field, enter the domain part of the user’s User principal name - in this case fudosecurity.com.

Note

Fill in this field when users are identified by their User principal name (the upn claim). Fudo Enterprise matches the user name combined with the AD domain against the UPN received from Microsoft Entra, so the user name has to be the part of the UPN before the @ sign - in this case user1 - and the AD domain the part after it. A user whose AD domain is empty, or holds a value other than the UPN suffix, cannot be identified, and their first sign-in fails.

  1. In the User Data tab, under the User info section, in the Email field enter the email address used during user creation in Microsoft Entra - in this case user1@fudosecurity.com.

../../_images/azure-fudo-email.png
  1. Fill in the rest of the parameters according to your needs.

  1. Click Save.

Note

This address is utilized to associate Fudo Enterprise users with their corresponding accounts created in Microsoft Entra. Ensure that there is no duplication of email addresses among users.

Testing

You can now test the OpenID Connect authentication by attempting to log in to Fudo Enterprise. Click on created Microsoft Entra authentication method button under the default Login button.

../../_images/6-3-entra-okta-login.png

Related topics: