glide_sso_id URL parameter for Service Portal pages

cilisoi
Tera Contributor

Hello,

I'm trying to add the glide_sso_id parameter to a Service Portal page link so users are redirected to that page after being automatically logged in with SSO, but it doesn't seem to work.
I tried multiple ways to add the parameter to the link but it's not recognized. I'm redirected to the login page of the portal.

e.g:

  • https://*instance*.service-now.com/sp?glide_sso_id=*idp sys_id*
  • https://*instance*.service-now.com/sp?id=index&glide_sso_id=*idp sys_id*

 

When I use this parameter for any other page in ServiceNow, it works. I'm automatically logged in and then redirected to the page that I wanted.

e.g:

  • https://*instance*.service-now.com/incident_list.do?glide_sso_id=*idp sys_id*
  • https://*instance*.service-now.com/sc_req_item.do?sys_id=*requested item sys_id*&glide_sso_id=*idp sys_id*

 

Does anyone have any suggestions?

 

Thank you!

4 REPLIES 4

Suseela Peddise
Kilo Sage

Hi,

We are using below url and it is working fine for us. 

instance url/portalname?glide_sso_id='Identity Provider sys_id'

See below links, it might helpful:

https://community.servicenow.com/community?id=community_question&sys_id=19627e6adb0d27c02be0a851ca96...

https://community.servicenow.com/community?id=community_question&sys_id=900b4baddb5cdbc01dcaf3231f96...

 

If I have answered your question, please mark my response as correct and/or helpful.

Thanks,

Suseela P.

Hi Suseela,

 

Using the login_with_sso.do page (as suggested in the links sent by you) automatically logs users but they are not also redirected to Service Portal at all times.

 

In your case, did you implement any custom functionality? Our instance is out of the box with no additional customizations. I tried on a different instance as well and I get the same results as I described.

 

Best regards,

Cristian

Hi,

We haven't implement any customizations. Configured identity provider in the platform.

Have you observed the behavior with active session and without active session?

 

If I have answered your question, please mark my response as correct and/or helpful.

Thanks,

Suseela P. 

This happens only for inactive sessions or non logged users.

If I access the link while logged, I'm taken to the right page. This is of no use since the whole point of this functionality is to log the user and then redirect them.