Multi-Provider SSO: How to Configure a Service Portal Page to Display a Local Login Page and No Longer Redirect to the "Auto Redirect IdP's" Login PageIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Description You are using Multi-Provider SAML SSO with a defined "Auto Redirect IdP" When going to your Service Portal page, e.g.: https://<instance_name>.service-now.com/<service_portal> You get redirected to the IdP login page as is defined in the "Auto Redirect IdP" Instead of the redirection to the "Auto Redirect IdP", you want a local login page where you have an option to "Use external login" How can this be configured? Procedure (1) In the navigator go to Service Portal -> Portals -> select the affected Service Portal (2) To the right of the "Login page" select the "Preview this record" icon and open that record (3) Under "Page Content" select the login widget link (4) Select "Clone Widget" and set the Name field to whatever you want to use (5) Edit the "Client controller" script, in this case comment out the redirection to the 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; // }); // }Save it (6) Go back to your service portal record (from step (1)), to the right of the "Login page" select the "Preview this record" icon and open that record (7) From there select the "Open in Page Editor" Related Link (8) Select the block to the left of "Login", e.g. "Instance 2" (9) At the bottom under "Widget" select the new cloned widget (as named in step (4)) from the drop down, save it (10) Now when going to the service portal page here: https://<instance_name>.service-now.com/<service_portal> You are no longer being redirected to the "Auto Redirect IdP" login page, instead you get a local login page with an option to use "Use external login" Applicable Versions Any Version