Skip to content

SAML Integration with CHAI™

NOTE: Azure Active Directory is now called Microsoft Entra ID.


Setup Process

Step 1: Create Microsoft Azure Account

Create an account at Microsoft Azure portal: https://portal.azure.com

Step 2: Access Microsoft Entra ID

Once account is activated, login to the portal and search for "Microsoft Entra ID" in All services. Click on "Microsoft Entra ID".

Azure Select AD

Step 3: Navigate to Enterprise Applications

In left hand navigation, click on "Enterprise applications".

Azure Select Enterprise App

Step 4: Create New Application

Click on "New Application".

Azure Click New App

Step 5: Configure Application

  1. Click on "Create your own application"
  2. Enter the application name
  3. Click on "Create" button

Azure Create App

Step 6: Verify Application Creation

Application will be listed under "All Application" of Enterprise applications.

Azure List Apps


Configure Single Sign-On

Step 7: Select Your Application

Click on the application that you just created (Example: "chtest"). Click on "Single Sign on".

Azure Select App

Step 8: Select SAML Option

Select the "SAML" option.

Azure Select SAML

Step 9: Configure Basic SAML Settings

Click on Edit icon of "Basic SAML Configuration" and for Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL) provide portal URL like:

https://CHAI™-portal's-DNS-or-ip-address/api/v0/auth/login/callback

Examples: - https://CHAI™-portal.io/api/v0/auth/login/callback - https://192.168.0.195/api/v0/auth/login/callback

Click on save button.

Azure Edit Configuration

Azure Configure CHAI™ URL

Step 10: Download Federation Metadata

Download the Federation Metadata XML.

Azure Download XML

Step 11: Copy Access Information

Click on Properties from left navigation and copy user access URL and Application ID.

Azure User Access URL


Add Users and Groups

Step 12: Add Users or Groups

Click on "Users And Groups" from left navigation. Click on "Add user/group" to add the users or groups that you want to access the application.

Azure Add User

Step 13: Assign Users

Select users and click on assign.

Azure Select User

Step 14: Complete User Assignment

Do this for all the users you want to be able to authenticate to CHAI™.