Service Portal with SSO enabled is redirecting to

Steps to Reproduce


  1. Enable the following plugins:
    • Multiple Provider Single Sign-On
    • Service Portal Plugins:
      • Service Portal - Core 1.1.0 Active com.glide.service-portal
      • Service Portal for Enterprise Service Management 1.1.0 Active com.glide.service-portal.esm (with demo data)
  2. Access Service Portal page with DB login:
    • https://<instancename>
  3. Configure Single Sign-On on the instance using an identity provider.
  4. Ensure that a user can log in using SSO.
  5. Access the Service Portal (https://<instancename>
    Note that it now redirects to https://<instancename>



The best integration with Service Portal is to configure and create a function that forwards users to the correct home page. 

Alternatively, on the script include SAML2_update1, replace needNavFrame and add function isSPRequest as follows:

    needNavFrame: function (requestURI, request) {
        if (requestURI.indexOf("login_with_sso") >= 0) return false;
        if (requestURI.startsWith("/")) return false;
        if (requestURI.startsWith("/")) return false;
        if (requestURI.startsWith("/")) return false;
        if (this.isCMSRequest(request)) return false;
        if (this.isSPRequest()) return false; // Here is the PRB712179 workaround 
        if (requestURI.equals("") || requestURI.equals("/")) return false;
        return true
    isSPRequest: function () {
        var isDirectRedirect = gs.getSession()
        this.logDebug("Is this a request from the servicePortal ?? : " + isDirectRedirect);
        if (isDirectRedirect != null && isDirectRedirect == "true") return true;
        return false

Related Problem: PRB712179

Seen In

Helsinki Patch 2
Helsinki Patch 2 Hot Fix 2
Helsinki Patch 3
Helsinki Patch 3 Hot Fix 2
Helsinki Patch 3 Hot Fix 7
Helsinki Patch 4
Helsinki Patch 5
Helsinki Patch 6 Hot Fix 1
Helsinki Patch 7

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:37:39