--- title: Set up multiple provider SSO with Edge Encryption description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/edge-encryption/SSO-edge.html release: australia product: Edge Encryption classification: edge-encryption topic_type: task last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [Installing Edge Encryption, Edge Encryption, Encryption] --- # Set up multiple provider SSO with Edge Encryption 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. ## Before you begin - 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/edge-encryption/c_InstallEdgeEncryptionProxy.md). Role required: admin ## About this task 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://.service-now.com/login_with_sso.do?glide_sso_id=:/login_with_sso.do?glide_sso_id= Field Value Identity Provider URL Imported from IdP metadata. ServiceNow Homepage The URL for your proxy server homepage. For example: `https://:/navpage.do` Entity ID / Issuer `https://:` Audience URI `https://:` 2. Click **Submit**. 3. For the instance URL, complete the form using these values.
Field Value
Identity Provider URL Imported from IdP metadata.
ServiceNow Homepage `https://.service-now.com/navpage.do`
Entity ID / Issuer `https://.service-now.com/navpage.do`
Audience URI `https://.service-now.com/navpage.do`
4. Click **Submit**. 4. If using more than one identity provider, modify the MultiSSO installation exit. 1. Navigate to **System Definition** > **Installation 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); } ``` **Note:** IdP initiated login does not work in this configuration. 5. Click **Update**. 5. 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/authentication/t_ConfigureUsersMultiProviderSSO.md). - 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. |URL|Login destination| |---|-----------------| |`https://:/login_with_sso.do?glide_sso_id=`|Logs in through the proxy server.| |`https://.service-now.com/login_with_sso.do?glide_sso_id=`|Logs in through the instance.| **Parent Topic:**[Installing Edge Encryption](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/edge-encryption/c_InstallEdgeEncryptionProxy.md)