Notifications

14 views

Symptoms


- Navigating to a Service Portal page while logged out is redirecting to the Desktop's login page

- For a fraction of a second you can see /auth_redirect.do?sysparm_url=logout_success.do

 

 

Cause


The Portal landing page had the Login widget configured within in. This widget has to following code in client script:

 

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;
 });
}

 

The redirection happens because the condition above is passing.

In the condition c.data.default_idp is being assigned to system property glide.authenticate.sso.redirect.idp

 

 

In a customer's specific case the system property was associated with a non existent Identity Provider (not seen in sso_properties_list.do)

 

Resolution


Either removing the system property or making it point to a valid Identity Provider will make the redirection happen as expected.

 

Article Information

Last Updated:2018-11-01 03:24:23
Published:2018-10-30