Deeplinking Issues

vcaracci75
Tera Expert

We currently have SSO enabled via F5. I created a link to allow users to go directly to one of our requested items directly from a link in our intranet. Because this SSO is SP-initiated, "deep-linking" should work by default. Our F5 access policy is configured to allow this feature, so there could be something in the ServiceNow config that needs to be enabled/configured for this to work. Right now the links only work if you have an active session.If you don't have an active session established, You will either get directed to our ESS page, or the login page. I spoke with ServiceNow tech support and their solution was to make the page in question public. Given the obvious security issues associated with that, we do not see that as a viable solution. Has any one else run into this, and if so, how did you correct it?

Thanks!

6 REPLIES 6

tltoulson
Kilo Sage

Hi Vince,



Deep linking in ServiceNow does require "enabling" but not in the way you may be thinking.   Basically, if a URL to ServiceNow has a "uri" parameter in the URL, then it will get passed to the SSO provider as the Relay State.   When authentication is completed, the User will be returned to that Relay State URL.   Unless something has changed recently, I believe this is the only way to take advantage of deep linking.   In other words, instead of sending a user to:



<instance name>.service-now.com/incident.do?sys_id=46c88ac1a9fe1981014de1c831fbcf6d



You would send the user to:



<instance name>.service-now.com/nav_to.do?uri=incident.do?sys_id=46c88ac1a9fe1981014de1c831fbcf6d



This should trigger ServiceNow to pass the incident.do?sys_id=46c88ac1a9fe1981014de1c831fbcf6d as the relay state.


Hi Travis,




So, what would the link look like if I wanted to get to a specific requested item? I tried I tried https:// but it didn't work.





Thanks,





Vince


Hi Vince,



I think it would look something like the following:



<instance name>.service-now.com/nav_to.do?uri=sc_req_item.do?sys_id=<sys_id_here>


This is the actual url. Where would I insert the uri?



https://.service-now.com/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=c2f2eacf138b92008fcdf3b12244b0b2&sysparm_link_parent=ce35e2c513bf5600f0cbbda12244b052&sysparm_catalog=e0d08b13c3330100c8b837659bba8fb4&sysparm_catalog_view=catalog_default