---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Set up multiple provider SSO

# Set up multiple provider SSO with Edge Encryption {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 Minuten Lesedauer

Set up multiple provider SSO to enable logging in through the Edge Encryption proxy server URL or the instance URL. If you are implementing multiple provider single sign-on (SSO) with Edge Encryption enabled, some users might need to log in to your instance through the Edge Encryption proxy server, while other users might not.

## Vorbereitungen

* Enable the Integration - Multiple Provider Single Sign-On Installer plugin (com.snc.integration.sso.multi.installer).
* Enable the Edge Encryption plugin (com.glide.edgeencryption) and ensure that one or more proxy servers are set up in your network.
* Determine the URL for the Edge Encryption proxy server that users will log in through using multiple provider SSO. To determine the URL of an Edge Encryption proxy server, see [Installing Edge Encryption](https://servicenow-prod.fluidtopics.net/7_PvQzbUlkB1VwhdMF_uOg "You can install an Edge Encryption proxy manually or using the Edge Encryption interactive installer.").
{#SSO-edge__ul_tts_bql_pbb}Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

The user logging in will need to use the appropriate URL to log in, either using the
Edge Proxy or not using the Edge Proxy.

* If routing all users through the Edge Encryption proxy server, set up your identify provider record and define the proxy server URL in the ServiceNow Homepage, Entity ID / Issuer, and Audience URI fields.
* To route some users through the proxy server and some users to the instance, create two identify provider records. Both records use the same value in the Identity Provider URL field. However, one of the records routes through the proxy server, while the other routes to the instance.
  * Login via instance name: https://\<instance name\>.service-now.com/login_with_sso.do?glide_sso_id=\<sys_id of IdP record for non-Edge Proxy
  * Log in via Edge Proxy: https://\<edge hostname\>:\<port\>/login_with_sso.do?glide_sso_id=\<sys_id of the IdP record for the Edge Proxy
  {#SSO-edge__ul_h5d_svn_nsb}
{#SSO-edge__ul_wn2_mwn_nsb}

## Prozedur

1. Enable the duplication of identity provider URLs in identity provider records.  
   A unique constraint prevents duplication of the identity provider URL in two different identity provider records. You can enable duplication of the identity provider URL in multiple IdP records by setting a field to false.
   1. Navigate to System DefinitionDictionary.
   2. Open the definition record for the idp field of in the Identity Providers table \[saml2_update1_properties\].
   3. Configure the form to add the Unique field.
   4. Ensure that the value of the Unique field is set to false.
   {#SSO-edge__substeps_sks_j5l_pbb}
2. Navigate to Multi-Provider SSOIdentity Providers.
3. Create two identity provider records for the same identity provider: one using the instance URL and one using the Edge Encryption proxy server URL.  
   To create an identity provider record, see [Create an external identity provider](https://servicenow-prod.fluidtopics.net/6ctx2vrWmlxEq56Fbejrpg "After you have configured the multi-provider SSO properties, you can update or create new SAML 2.0 or digest token identity provider.").
   1. For the Edge Encryption proxy server URL, complete the form using these values.  
      {#SSO-edge__table_btz_ysl_pbb__entry__2}

      | Field | Value |
      |-|-|
      | Identity Provider URL | Imported from IdP metadata. |
      | ServiceNow Homepage | The URL for your proxy server homepage. For example: https://\<proxy hostname\>:\<port\>/navpage.do |
      | Entity ID / Issuer | https://\<proxy hostname\>:\<port\> |
      | Audience URI | https://\<proxy hostname\>:\<port\> |
      [ ]

      {#SSO-edge__table_btz_ysl_pbb}
   2. Click Submit.
   3. For the instance URL, complete the form using these values.  
      {#SSO-edge__table_bgh_xvl_pbb__entry__2}

      | Field | Value |
      |-|-|
      | Identity Provider URL | Imported from IdP metadata. |
      | ServiceNow Homepage | https://\<instance\>.service-now.com/navpage.do |
      | Entity ID / Issuer | https://\<instance\>.service-now.com/navpage.do |
      | Audience URI | https://\<instance\>.service-now.com/navpage.do |
      [ ]

      {#SSO-edge__table_bgh_xvl_pbb}
   4. Click Submit.
   {#SSO-edge__substeps_upk_xrl_pbb}
4. **Wahlweise:** If using more than one identity provider, modify the MultiSSO installation exit.
   1. Navigate to System DefinitionInstallation Exits.  
      The system displays the current list of installation exits.
   2. Open the MultiSSO installation exit.
   3. Locate the following statement in the Script field.  

          var samlResponseTxt = request.getParameter("SAMLResponse");
          if (!GlideSession.get().isLoggedIn() && GlideStringUtil.notNil(samlResponseTxt)) {
              var idpRecord = this.getIdPRecord(request);
              if (idpRecord) {
                  SSO_Helper.debug("IdP found based on SAML response: " + idpRecord.getUniqueValue());
                  return new SSO_Helper(idpRecord.getUniqueValue(), false, null, true);
              }
          }

   4. Replace the statement with the following code.  

          var samlResponseTxt = request.getParameter("SAMLResponse");
          if (!GlideSession.get().isLoggedIn() && GlideStringUtil.notNil(samlResponseTxt)) {
             /* // You have two profiles that use the same IdP entity id it cannot use
             // the IdP issuer / entity id from the response otherwise it may result in the
             // wrong IdP profile. IdP initiated login will not work
             var idpRecord = this.getIdPRecord(request);
             if (idpRecord) {
                SSO_Helper.debug("IdP found based on SAML response: " + idpRecord.getUniqueValue());
                return new SSO_Helper(idpRecord.getUniqueValue(), false, null, true);
                }*/
             return new SSO_Helper(null, true);
             }

      Hinweis:  
      IdP initiated login does not work in this configuration.
   5. Click Update.
   {#SSO-edge__substeps_bpj_dzl_pbb}
5. **Wahlweise:** If using more than one company, configure users for multi-provider SSO and update sys_id of the identity provider record depending on the user.  
   For more information, see [Configure users for Multi-Provider SSO](https://servicenow-prod.fluidtopics.net/gAd~ScJDxXp81n1PYmz_sA "Administrators can configure Multi-Provider SSO for individual users or for all users who belong to a company. You cannot configure Multi-Provider SSO for groups.").  
   * To configure a user to log in through the Edge Encryption proxy server, use the sys_id of the identity provider record that uses the Edge Encryption proxy server URL.
   * To configure a user to log in to the instance, use the sys_id of the identity provider record that uses the instance URL.
   {#SSO-edge__ul_e1h_plh_qbb}  
   {#SSO-edge__table_cg2_gzl_pbb__entry__2}

   | URL | Login destination |
   |-|-|
   | https://\<proxy hostname\>:\<port\>/login_with_sso.do?glide_sso_id=\<sys_id of the IdP record for the proxy server URL\> | Logs in through the proxy server. |
   | https://\<instance name\>.service-now.com/login_with_sso.do?glide_sso_id=\<sys_id of IdP record for the instance URL\> | Logs in through the instance. |
   [Tabelle : 1. Login URLs]

   {#SSO-edge__table_cg2_gzl_pbb}

