- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:07 AM
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
Solved! Go to Solution.
- Labels:
-
Architect

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:16 AM
- Open the list of portal pages by typing sp_page_list.do in your filter navigator.
- Pull the "Public" checkbox onto the list view
- Find the page with the id of sc_cat_item and untick "Public".
- 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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 10:20 AM
@SM_Toronto your "Public" checkbox is still set to "true". This must be set to "false" to enforce SSO when the page is loaded.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:16 AM
- Open the list of portal pages by typing sp_page_list.do in your filter navigator.
- Pull the "Public" checkbox onto the list view
- Find the page with the id of sc_cat_item and untick "Public".
- 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 08:48 AM
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)
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:
I'm still searching for other ways to make this to redirect to the login and SSO. Thanks again.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 10:20 AM
@SM_Toronto your "Public" checkbox is still set to "true". This must be set to "false" to enforce SSO when the page is loaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 11:32 AM
"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!!!)