Configure specific Identity Provider (IdP) redirect for Service Portal SSO login Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } When multiple Identity Providers (IdP) are configured without an auto-redirect IdP, using a URL with an IdP sys_id defined in glide_sso_id does not redirect users to the specified Service Portal. For example, in the following test_sp and test_sp2 are Service Portal URLs: https://<instance_name>.service-now.com/test_sp/login_with_sso.do?glide_sso_id=8abf82b9dbf08414b9d31649489619d5 https://<instance_name>.service-now.com/test_sp2/login_with_sso.do?glide_sso_id=8abf82b9dbf08414b9d31649489619d5 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Applies to any release Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The login_with_sso.do endpoint does not support deep links. As a result, the URLs with glide_sso_id do not redirect to the intended portals. Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 1. Go to the Service Portal directly: https://<instance_name>.service-now.com/test_sphttps://<instance_name>.service-now.com/test_sp2 2. To configure the IdP for a specific portal, use the following knowledge article as a guide: Disable SSO auto-redirect for some portals to local login while still keeping SSO authentication for others 3. In step 2, comment out this line: data.default_idp = GlideProperties.get("glide.authenticate.sso.redirect.idp"); 4. Add this line below it: data.default_idp ='8abf82b9dbf08414b9d31649489619d5'; 5. Here, 8abf82b9dbf08414b9d31649489619d5 is the sys_id of the IdP you want to use for the specific portal. Apply this to both test_sp and test_sp2. In the Client Controller script, 8abf82b9dbf08414b9d31649489619d5 will be c.data.default_idp as follows: if (!c.data.is_logged_in && c.data.multisso_enabled && c.data.default_idp) {c.server.get({action: "set_sso_destination",pageURI: c.data.pageURI}).then(function() {$window.location = "/login_with_sso.do?glide_sso_id=" + c.data.default_idp;});} You can extend the Server script if you need more selective or complex redirects.