Email Links with SSO - "glide.email.override.url" property with Unencrypted http header

lucasita
Tera Guru

Hi,

I'm trying to figure out how should the  "glide.email.override.url" property be configured so to have the email notification url considering the SSO authentication.

I have Unencripted HTTP header SSO and have configured the system to  require SSO credentials even for the main ServiceNow login page.

Now if I create an Incident and try to get to the record via email notification URL I would not be able to connect becouse in the link there are no the SSO header.

If I read correctly you could set the  "glide.email.override.url" property but I didn't understand how to set it.

 

Email Links with SSO

When using External Authentication (or SSO) that requires URL parameter additions, you will need to establish how you want links in email notifications to be handled. The out-of-box links simply contain a URL that directs you to a specific location in the instance, like an Incident or Change Request, without incorporating SSO credentials. Below are examples for directing the user to the location in the instance without them having to login on the instance login page.

 

To set this up you will need to set the "glide.email.override.url" property in your instance to contain the URL of the company portal page. If this property does not exist, you can create it.

  • The company portal must then take that URL and construct the redirect URL to ServiceNow as follows, preserving the segment necessary to access the specific record, and adding the SSO credentials to the end of the URL:
https://<instance name>.service-now.com/nav_to.do?uri=incident.do?sys_id=009f8eda0a0a0b2b01ab4eb094223466%26sysparm_stack=incident_list.do%3Fsysparm_query=active=true&SM_USER
6 REPLIES 6

But when using the 'SSO provided by Okta, inc.' plugin there is no Idp configured. 

lucasita
Tera Guru

In order to login in the system a user must indicate the header SM_NAME=<user_name>.


If a want a notification to include an url to a record I should have in the URL "&SM_NAME=<user_name>".


The question is: is there a way to configure this behaviour or should I script the URL in the email notification so to add the "&SM_NAME=<user_name>"?