We have 2 URLs Both are pointing to the same instance (for example, one to the old CMS the other to the Service Portal).


Customers could want to achieve the functionality to help user’s login to one domain if they are logged on to the other and vice versa.

Release or Environment

All releases


ServiceNow does not support sharing cookies between instances, even if it is possible as it could be unsafe for our customers to read cookies between all instances.


Just in case, if it is needed to share cookies across subdomains it is required need to scope the cookie at the domain level (e.g. It applies when you want the cookie is available to all the subdomains of

Most modern browsers adhere to a defined "web security model". The model effectively governs the behaviour of browsers with regards to security, on things like cookies (specifically how they will be sent back to any given website). The model also has the rule that "browsers don't send cookies to domain names that didn't set them."

That being said, should be able to set cookies for, however, can only set cookies for itself. But this is all depending on what browser you're using.

Additionally, if you want to create a simple authentication portal to pass an unencrypted HTTP header as a cookie. Here is official documentation link:



Article Information

Last Updated:2019-11-28 06:04:30