Enabling SAML Authentication in a Redundant eG Manager Setup

In a redundant manager setup, SSO login support through SAML should be enabled on both the eG managers in the cluster - i.e., the primary and the secondary manager.

The steps for SAML enablement in a redundant manager setup includes the following:

  1. Enable support for SSO logins on both managers; to know how to perform this on the primary manager, refer to Enabling the SSO Feature in eG Enterprise. Mimic the same procedure on the secondary manager.
  2. Configure SAML as the Authentication Provider for the primary manager, and then the secondary manager; refer to Configuring SAML as the Authentication Provider for eG Enterprise to know how to achieve this on the prmary manager. Repeat the same steps on the secondary manager.
  3. Configure eG Enterprise as an SP in one/more IdPs; note that in every IdP, two separate SPs should be configured - one each for the primary and secondary manager. For instance, if eG Enterprise is to be configured as an SP for the IdP Microsoft Entra, then you need to create two separate applications in Microsoft Entra for this purpose - one for the primary manager and another for the secondary manager.

    When configuring SPs in an IdP, you will typically be required to configure each SP with its Identifier ID, Logout URL and Reply URL (or ACS URL). In a redundant setup, at this juncture, you will have to provide the details that map to the eG manager that corresponds to each SP. To obtain the manager-specific details, do the following:

    • Login to the eG admin interface of the primary manager.

    • Follow the User Management -> SAML Identity Providers menu sequence.

    • When Figure 1 appears, you will find a list of existing identity providers displayed therein. Click on the identity provider of interest to you.

      List of IdPs

      Figure 1 : List of existing SAML Identity providers

    • Figure 2 will then appear. From the What would you like to do? drop-down in Figure 2, select the Modify SAML IdP Details option (see Figure 3).

      Viewing IdP Details on Primary Manager

      Figure 2 : Viewing the details of the chosen Identity provider

      Modifying IdP Details on Primary Manager

      Figure 3 : Modifying the details of the chosen Identity provider for the primary manager

    • Figure 3 comprises of two sections - one each for the primary and secondary managers. When configuring the primary manager as an SP in the IdP, do the following:

      • Set the Service Provider Entity ID you see in the Service Provider Metadata - Primary section of Figure 3 as the Identifier ID in the IdP.

      • Then, click on the button adjacent to the Service Provider Entity ID display to view/download the metadata pertaining to the service provider. Figure 4 will then appear.

        Viewing SP Metadata on Primary

        Figure 4 : Viewing metadata of the service provider that maps to the primary manager

      • Figure 4 clearly displays the Logout URL and ACS URL (i.e., Reply URL) of the service provider - i.e., the primary manager. Copy these values and set them as Reply URL and Logout URL of the SP that corresponds to the primary manager, in the IdP console.

      When configuring the secondary manager as an SP in the IdP, do the following:

      • Keep scrolling down Figure 3 until the Service Provider Metadata - Secondary section becomes visible (see Figure 3).

        Modifying IdP Details on Secondary Manager

        Figure 5 : Modifying the details of the chosen Identity provider for the secondary manager

      • Set the Service Provider Entity ID you see in the Service Provider Metadata - Secondary section of Figure 3 as the Identifier ID in the IdP.

      • Then, click on the button adjacent to the Service Provider Entity ID display to view/download the metadata pertaining to the service provider. Figure 6 will then appear.

        Viewing the SP Metadata for Secondary Manager

        Figure 6 : Viewing metadata of the service provider that maps to the primary manager

      • Figure 6 clearly displays the Logout URL and ACS URL (i.e., Reply URL) of the service provider - i.e., the secondary manager. Copy these values and set them as Reply URL and Logout URL of the SP that corresponds to the secondary manager, in the IdP console.

  4. Configure one/more IdPs in eG Enterprise; in a redundant setup, the IdPs you configure on the primary manager, should also be explicitly configured on the secondary manager. To know how to configure an IdP on a manager, refer to Configuring One/More IdPs in eG Enterprise.

    When configuring an IdP, make sure you provide a unique Identity ID for that IdP on the primary manager and the secondary manager. Additionally, you will be required to provide a Logout URL and an IdP Certificate for the IdP on the eG manager. These details should be obtained from that IdP's console. When doing so, make sure you retrieve from the IdP console, only those details that correspond to the eG manager (i.e., SP) for which the IdP is being configured. In other words, when configuring the IdP on the primary manager, make sure that the Logout URL and an IdP Certificate are that of the SP created for the primary manager in the IdP. Similarly, if the same IdP is configured on the secondary manager, then the Logout URL and IdP Certificate should be that of the SP that corresponds to the secondary manager. To know how to configure the Logout URL and IdP Certificate, refer to Configuring One/More IdPs in eG Enterprise.

  5. Configure eG users to use SAML for authenticating their logins; to know how to perform this, refer to Configuring eG Users to Use SAML for Authenticating their Logins. In a redundant setup, this step should be performed on the primary manager alone.

Once all the above steps are completed, SAML authentication will be able to function in a redundant manager setup. So, the next time the primary manager goes down, the secondary manager will be able to use SAML to authenticate eG user logins.