Integrations
Azure AD (Entra ID)
Integrations
Azure AD (Entra ID)
If you use Azure AD to authenticate your users, integration with the CHG IdentityProvider is easy. Azure AD supports the SAML and OIDC protocol. Both are supported by the CHG IdentityProvider.
To integrate your Azure AD via SAML protocol please read the official documentation on the Microsoft website.
Following information is required to integrate your identity provider
The following steps will lead you through the process of configure a new application within your Azure AD.
Login to your Azure Portal with administrative permissions. Open the App registrations service and add a new registration.

Provide a meaningful name like CHG IdentityProvider.
If you already got a login redirect URL from our support please enter here. Proceeding the registration by hitting Register on the bottom.

If no login redirect URL was set on the registration please add a platform first.
Go to the Authentication tab and click on Add a platform and choose Web. Enter the login redirect URL and the logout URL which you got from our support.

If you already provided a login redirect URL at the registration you only need to add the logout URL. This is optional if you don't want to support single sign-out.
Go to the Authentication tab and enter the logout URL.

Select the Certificates & secrets tab and add a new client secret.

Enter a description and choose an expiration.
Keep in mind, you must remember to assign a new secret in time or the users will not be able to log in.
Remember the new generated secret on a safe place.
Please provide the secret and the client and tenant ID to our support. This is the information required to configure the integration on our side.

To provide additional attributes on login such as group name or employee number, you have to configure these in the Token configuration tab.
Please read the documentation for further information. The optional claims should be in the ID token.

sub requiredhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifieremail requiredhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddresshttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/name only if it contains a valid emailhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier only if it contains a valid emailhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/upnpreferred_usernamenamehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/namegiven_nameFirstNamehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/givennamefamily_nameLastNamehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/surnamenicknamegeneric other attributesTo provide group membership information of the user please read the documentation. Go to the Token configuration tab and add a new groups claim and select the groups types according to your needs.

In most scenarios only the ID of the group will be provided. See documentation for more information. CHG IdentityProvider can resolve the group name if required.
To be able to resolve the group name please add the corresponding permission to the application. Go to API permissions and add the Microsoft Graph GroupMember.Read.All delegated permission.

This permission allows the app to list groups, read basic group properties and read membership of all groups the signed-in user has access to. See documentation for more details.
Please don't forget to grant admin consent for this permission.
