when the direct link to a catalog item is shared with users, it displays the error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 11:58 PM - edited 05-21-2024 11:59 PM
When the direct link to a catalog item is shared with users, it displays the error message. "You are either not authorized or record is not valid." if the user is not logged in.
Is there a way if user is not already logged in, we need to redirect user to login page and upon login they need to be redirected to catalog item link which they clicked in first place. Thanks in advance.
URL : https://exampletest.service-now.com/myportal?id=sc_cat_item&sys_id=a498811f1bdf0114629d7735cc4XXXXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 01:23 AM
Are you sure that's the issue? Is this item shared with the users (user criteria)? Was the user getting this error already logged in, or not?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 01:45 AM
@Mark Manders Yes if the user is already logged in, he is able to access the catalog item. This message appears when user is not already logged in to system. Now the ask is "if user is not already logged in and user visits this URL, in place of showing this message the link should redirect to login page and once login it should redirect and open the link which user clicked in first place i.e. the catalog item should be opened on portal".
Please let me know if any questions regarding same. thanks for taking out your time to check this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 04:13 AM
Check your login setup. On my OOB instance, I get redirected to the login screen if I use a direct link and am not logged in yet.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 01:47 AM
@amitgujarathi could you please check and assist me if you have any idea. Thanks in advance