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

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!

Thanks for the reply. 

Here's the outcome:

1) On Step 1-3, the sc_cat_item is already activated (dated: 2023-05-09 16:39:35)

sc_cat_item page TRUE.png

 2) For Step 4, I pasted "https://<my_instance>/sp?id=sc_cat_item&table=sc_cat_item&sys_id=e7b1e1298798755035cf4266cebb35e9" at FireFox browser's URL and it still displays the error message:  

SSO Error.png

 I'm still searching for other ways to make this to redirect to the login and SSO. Thanks again.

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

"untick" ...(my bad)

well...it redirects tot the login page, which reroutes to the SSO...I'll present this to the team and hopefully, this is good enough (you're the man!!! Thank you so much!!!)