OIDC: Identity and Microsoft Entra ID

bhavik.patel@oneadvanced.com Updated by bhavik.patel@oneadvanced.com

Overview

This document provides step-by-step instructions for integrating Microsoft Entra ID (formerly Azure AD) as an Identity Provider (IdP) with OneAdvanced Identity using OpenID Connect (OIDC).

Pre-requisites

Before starting, ensure you have the following:

  1. Customer Admin access for an Organization in OneAdvanced Identity
  2. A Microsoft Entra ID tenant with admin access
  3. Access to Azure Portal (https://portal.azure.com)

Configure Microsoft Entra ID as an OIDC Identity Provider

Step 1: Register an Application in Entra ID
  1. Log in to Azure Portal (https://portal.azure.com)
  2. Navigate to Microsoft Entra ID → App registrations
  3. Click New registration
  4. Configure the application:
  5. Click Register
Step 2: Configure Authentication Settings
  1. In your registered application, go to Authentication in the left menu
  1. Under Implicit grant and hybrid flows, enable:
    • ID tokens (used for sign-in)
  2. Click Save
Step 3: Create Client Secret
  1. Go to Certificates & secrets in the left menu
  1. Under Client secrets, click New client secret
  2. Add a description (e.g., "OneAdvanced Identity Integration")
  3. Select an expiration period
  4. Click Add
IMPORTANT: Copy the Value  and store it securely.
Step 4: Gather Required Configuration Values

From your Entra ID application, collect the following values:

  1. Go to Overview page of your app registration
  2. Note down:
    • Application (client) ID - This is your Client ID
    • Directory (tenant) ID - This is your Tenant ID
  3. Configuration URLs :
    • Authorization URL: https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/authorize
    • Token URL: https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token
    • Logout URL: https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/logout
    • User Info URL: https://graph.microsoft.com/oidc/userinfo
    • JWKS URL: https://login.microsoftonline.com/{tenant-id}/discovery/v2.0/keys
    • Issuer: https://login.microsoftonline.com/{tenant-id}/v2.0
    Note: Replace {tenant-id} with your actual Directory (tenant) ID

Configure OneAdvanced Identity OIDC Federation

Step 1: Create OIDC Federation in MyWorkPlace
  1. Log in to https://apps.oneadvanced.com
  2. Navigate to Organization Manager 
  3. Click Edit for the organization where you want to configure federation
  4. Click Single sign-on (SSO) tab
  5. Click Configure your own
Step 2: Configure Federation Details

Fill in the following fields:

General Settings:

Field

Value

Notes

Friendly name

Microsoft Entra ID

This is displayed to users during login

Alias

entraid-oidc

Use lowercase, no special characters (used in callback URL)

First login flow

automating pairing

Recommended for automatic user provisioning

Post login flow

(leave empty)

Optional

Type

OIDC

Select OpenID Connect

GUI order

1

Display order if using multiple federations

Always use

true or false

If true, users are always redirected to this IdP

Trust email

true

Recommended - emails from Entra ID are verified

OIDC-Specific Settings:

Field

Value

Notes

Authorization URL

https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/authorize

Replace {tenant-id} with your tenant ID

Token URL

https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token

Replace {tenant-id} with your tenant ID

Logout URL

https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/logout

Replace {tenant-id} with your tenant ID

User Info URL

https://graph.microsoft.com/oidc/userinfo

Client ID

{your-client-id}

Application (client) ID from Entra ID

Client Secret

{your-client-secret}

Secret value copied earlier

Issuer

https://login.microsoftonline.com/{tenant-id}/v2.0

Replace {tenant-id} with your tenant ID

Default Scopes

openid

Required scopes for user information

Prompt

(leave as Unspecified)

Validate signatures

Enabled

Important for security

Use JWKS URL

Enabled

Recommended over static keys

JWKS URL

https://login.microsoftonline.com/{tenant-id}/discovery/v2.0/keys

Replace {tenant-id}

  1. Click Create
Step 3: Configure Attribute Mappers

After creating the federation, you need to map Entra ID claims to OneAdvanced Identity user attributes:

  1. In the federation tile, click Configure → Mappers tab
  2. Click Add mapper and create the following mappers:

Name

Mapper Type

Claim

User attribute name

Email Mapper

Attribute Importer

email

email

First Name Mapper

Attribute Importer

given_name

firstName

Last Name Mapper

Attribute Importer

family_name

lastName

Username Mapper (Optional)

Attribute Importer

preferred_username

username

  1. Click Add after configuring each mapper

Test the Integration

Step 1: Verify Configuration
  1. Ensure the federation appears as a tile in the Single sign-on (SSO) tab
  2. Check that all mappers are correctly configured
Step 2: Test User Login
  1. Navigate to your OneAdvanced Identity login page
  2. You should see a button/option for Microsoft Entra ID (or your configured friendly name)
  3. Click the federation button
  4. You will be redirected to Microsoft login page
  5. Enter your Microsoft credentials
  6. After successful authentication, you should be redirected back to OneAdvanced Identity

You have successfully integrated Microsoft Entra ID as an OIDC Identity Provider with OneAdvanced Identity. Users can now authenticate using their Microsoft credentials through OpenID Connect.

How did we do?

Managing Authorities for SSO Domain Access

Contact