Microsoft Entra ID

Configure AlexisHR for Single sign-on with Microsoft Entra ID

In brief

Learn how to configure single sign-on between Microsoft Entra ID and AlexisHR.

Documentation change


Configure AlexisHR for Single sign-on with Microsoft Entra ID

In this article, you learn how to integrate AlexisHR with Microsoft Entra ID. When you integrate AlexisHR with Microsoft Entra ID, you can:

In this article, you learn how to integrate AlexisHR with Microsoft Entra ID. When you integrate AlexisHR with Microsoft Entra ID, you can:

  • Control in Microsoft Entra ID who has access to AlexisHR.
  • Enable your users to be automatically signed-in to AlexisHR with their Microsoft Entra accounts.

Scenario description

In this article, you configure and test Microsoft Entra SSO in a test environment.

In this article, you configure and test SAML SSO between Microsoft Entra ID and AlexisHR in a test environment.

  • AlexisHR supports IDP initiated SSO.
  • AlexisHR supports IdP-initiated SSO.
  • You first create a basic (mock) SAML configuration in Microsoft Entra ID to obtain the Login URL and certificate, then configure SSO in AlexisHR, and finally return to Microsoft Entra ID to update the Identifier and Reply URL with the real values from AlexisHR.

Add AlexisHR from the gallery

To configure the integration of AlexisHR into Microsoft Entra ID, you need to add AlexisHR from the gallery to your list of managed SaaS apps.

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
  1. Browse to Entra ID > Enterprise apps > New application.
  2. In the Add from the gallery section, type AlexisHR in the search box.
  3. Select AlexisHR from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
  1. Browse to Microsoft Entra ID > Enterprise applications > New application.
  2. In the Add from the gallery section, type AlexisHR in the search box.
  3. Select AlexisHR from the results panel and then add the app. Wait a few seconds while the app is added to your tenant.

[!INCLUDE sso-wizard.md]

[!INCLUDE sso-wizard.md]

To configure and test Microsoft Entra SSO with AlexisHR, perform the following steps:

  1. Configure Microsoft Entra SSO - to enable your users to use this feature.
    1. Create a Microsoft Entra test user - to test Microsoft Entra single sign-on with B.Simon.
    2. Assign the Microsoft Entra test user - to enable B.Simon to use Microsoft Entra single sign-on.
  2. Configure AlexisHR SSO - to configure the single sign-on settings on application side.
    1. Create AlexisHR test user - to have a counterpart of B.Simon in AlexisHR that's linked to the Microsoft Entra representation of user.
  3. Test SSO - to verify whether the configuration works.
  1. Configure Microsoft Entra SSO – to enable your users to use this feature.
  2. Create and assign a Microsoft Entra test user – to validate single sign-on.
  3. Configure AlexisHR SSO – to configure single sign-on in AlexisHR.
  4. Update Microsoft Entra SSO with real values – to replace the placeholder values with real ones.
  5. Test SSO – to verify whether the configuration works.

Configure Microsoft Entra SSO

Configure Microsoft Entra SSO (initial mock setup)

Follow these steps to enable Microsoft Entra SSO.

Follow these steps to enable Microsoft Entra SSO with temporary values.

  1. Browse to Entra ID > Enterprise apps > AlexisHR > Single sign-on.
  2. On the Select a single sign-on method page, select SAML.
  3. On the Set up single sign-on with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.
  1. Browse to Microsoft Entra ID > Enterprise applications > AlexisHR > Single sign-on.
  2. On the Select a single sign-on method page, select SAML.
  3. On the Set up single sign-on with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.

Edit Basic SAML Configuration

  1. On the Basic SAML Configuration section, perform the following steps:

    a. In the Identifier text box, type a value using the following pattern: urn:auth0:alexishr:<YOUR_CONNECTION_NAME>

    b. In the Reply URL text box, type a URL using the following pattern: https://auth.alexishr.com/login/callback?connection=<YOUR_CONNECTION_NAME>

  1. In the Basic SAML Configuration section, enter placeholder values for the first setup:
    • Identifier (Entity ID): urn:auth0:alexishr:<YOUR_CONNECTION_NAME>
    • Reply URL (Assertion Consumer Service URL): https://auth.alexishr.com/login/callback?connection=<YOUR_CONNECTION_NAME>
  1. AlexisHR application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes.

Example:

  • Company: acme
  • Date: 20250901
  • Identifier: urn:auth0:alexishr:acme-20250901
  • Reply URL: https://auth.alexishr.com/login/callback?connection=acme-20250901
![image](common/default-attributes.png)
  1. In addition to above, AlexisHR application expects few more attributes to be passed back in SAML response which are shown below. These attributes are also pre-populated but you can review them as per your requirements.
| Name | Source Attribute |
| ------------ | --------- |
| email | user.mail |
  1. In the Attributes & Claims section, set Name ID format to Email address and ensure the Name ID value is user.email.
  1. On the Set up single sign-on with SAML page, in the SAML Signing Certificate section, find Certificate (Base64) and select Download to download the certificate and save it on your computer.
  1. In the SAML Signing Certificate section, select Certificate (Base64) and Download. This file has a .cer extension, is PEM-encoded, and is needed later during the AlexisHR setup.
![The Certificate download link](common/certificatebase64.png)
  1. In the Set up AlexisHR section, copy the Login URL and Logout URL values. These values will also be needed in the AlexisHR setup.
  1. On the Set up AlexisHR section, copy the appropriate URL(s) based on your requirement.

    Copy configuration URLs

[!INCLUDE create-assign-users-sso.md]

Configure AlexisHR SSO

Create and assign a Microsoft Entra test user

  1. Log in to your AlexisHR company site as an administrator.

  2. Go to Settings > SAML Single sign-on and select New identity provider.

  3. In the New identity provider section, perform the following steps:

    Screenshot shows the Account Settings.

    1. In the Identity provider SSO URL textbox, paste the Login URL value which you copied previously.

    2. In the Identity provider sign out URL textbox, paste the Logout URL value which you copied previously.

1. Open the downloaded **Certificate (Base64)** into Notepad and paste the content into the **Public x509 certificate** textbox.

1. Select **Create identity provider**.

Configure AlexisHR SSO

  1. After creating identity provider, you receive the following information.
  1. Log in to your AlexisHR company site as an Owner.
  2. Go to Settings > SAML Single sign-on and select New identity provider.
  3. In the New identity provider section:
    • Identity provider SSO URL: paste the Login URL from Microsoft Entra ID.
    • Identity provider sign out URL: paste the Logout URL from Microsoft Entra ID.
    • Public x509 certificate: open the downloaded Certificate (Base64) file in a text editor and paste the entire PEM content (including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines) without modifying any line breaks.
  4. Select Create identity provider.
  5. After creating the identity provider, AlexisHR provides:
    • Audience URI
    • Assertion Consumer Service URL
      These values will be used to update Microsoft Entra ID.
![Screenshot shows the SSO Settings.](./media/alexishr-tutorial/certificate.png "SSO configuration")

1. Copy **Audience URI** value, paste this value into the **Identifier** text box in the **Basic SAML Configuration** section.

Update Microsoft Entra SSO with real values

1. Copy **Assertion Consumer Service URL** value, paste this value into the **Reply URL** text box in the **Basic SAML Configuration** section.
  1. Return to Microsoft Entra admin center > Enterprise applications > AlexisHR > Single sign-on.
  2. Edit the Basic SAML Configuration section.
  3. Replace the temporary placeholder values with:
    • Identifier (Entity ID): paste Audience URI from AlexisHR.
    • Reply URL (Assertion Consumer Service URL): paste Assertion Consumer Service URL from AlexisHR.
  4. Save the changes.

Create AlexisHR test user

In this section, you create a user called Britta Simon in AlexisHR. Work with AlexisHR support team to add the users in the AlexisHR platform. Users must be created and activated before you use single sign-on.

Create AlexisHR test user

Test SSO

  1. Work with AlexisHR support team to add a test user (for example, Britta Simon) in the AlexisHR platform.
  2. Ensure the user is created and activated before testing single sign-on.

In this section, you test your Microsoft Entra single sign-on configuration with following options.

  • Select Test this application, and you should be automatically signed in to the AlexisHR for which you set up the SSO.

Test SSO

  • You can use Microsoft My Apps. When you select the AlexisHR tile in the My Apps, you should be automatically signed in to the AlexisHR for which you set up the SSO. For more information, see Microsoft Entra My Apps.
  1. In the Microsoft Entra admin center, go to the AlexisHR app and select Test this application. You should be automatically signed in to AlexisHR.
  2. Alternatively, open My Apps, select the AlexisHR tile, and confirm that you are automatically signed in. For more information, see Microsoft Entra My Apps.

Related content