Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Help about Redirecting to SSO

SM_Toronto
Tera Guru

Hello SN Community,

I really need some help...ant tips of leads is much appreciated. 🙂

Here's my scenario:

1) We have SSO setup using Azure and it works well.

2) System Property setting ===>  glide.entry.first.page.script : new global.SPEntryPage().getFirstPageURL()

3) When we give a URL of a catalog item (e.g.: https://<customer instance>.service-now.com/sp?id=sc_cat_item&table=sc_cat_item&sys_id=<catalog item sys_id>) to a regular joe user who has NOT signed it yet, it displays and error message:  "You are either not authorized or record is not valid."

However, if the user is already signed in, the URL works fine.

Question:

How do I redirect the user with a URL to SSO?

Thank in advance, 

SM

2 ACCEPTED SOLUTIONS

Ryan Duce
Tera Guru
  1. Open the list of portal pages by typing sp_page_list.do in your filter navigator.
  2. Pull the "Public" checkbox onto the list view
  3. Find the page with the id of sc_cat_item and untick "Public".
  4. When a non-logged-in user navigates to that page, they will be prompted to log in through your standard SSO flow before the user criteria are evaluated.

Please mark as helpful if this solved your issue!

View solution in original post

@SM_Toronto your "Public" checkbox is still set to "true". This must be set to "false" to enforce SSO when the page is loaded.

View solution in original post

5 REPLIES 5

Dhruv Chandan
Giga Guru

Hi,

 

Someone might have disabled the SSO for the portal page catalog item, using below steps :-

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0719767

Have you reviewed this?

 

Thanks,

Dhruv