Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
401 error and infinite loop when loading CMS URL after ExternalAuthentication SSO using SiteMinder - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • 401 error and infinite loop when loading CMS URL after ExternalAuthentication SSO using SiteMinder
KB0551967

401 error and infinite loop when loading CMS URL after ExternalAuthentication SSO using SiteMinder


3048 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

401 error and infinite loop when loading CMS URL after ExternalAuthentication SSO using SiteMinder

 

Problem
There is a 401 error and infinite looping when loading a CMS site after ExternalAuthentication SSO using SiteMinder.  

  

Symptoms
Launching a CMS site URL (for example, https://<instance>.service-now.com/ess) when the instance is integrated with SSO using SiteMinder can cause an infinite loop and 401 unauthorized errors within the Chrome Developer Tool Console:




 
Cause
This issue only occurs when SAML (glide.authenticate.external) is enabled and the specific configuration below is in place:

  • System property glide.authenticate.failed_requirement_redirect is set to the instance URL:
    For example: https://<instance>.service-now.com
    Product documentation reference: https://docs.servicenow.com/csh?topicname=r_ForcingLoginViaSSOOnly.html&version=latest 

  • The view_content Public Pages [sys_public] record is set to false.
    This makes CMS private and not available to "guest" requiring authentication and login.
    Product documentation reference: https://docs.servicenow.com/ 
For the above scenario, the glide.authenticate.failed_requirement_redirect property needs to be set to a static page; otherwise, it goes into the authentication loop.


Warning: The glide.authenticate.failed_requirement_redirect property should be set to the URL of the IdP login page or a company portal page outside of ServiceNow.


Resolution

This issue can be resolved using these steps:

  1. Set view_content to true.
  2. Set glide.authenticate.failed_requirement_redirect to the URL of the IdP login page.

Another possible solution is to use this configuration:

  1. Set the glide.authenticate.failed_requirement_redirect system property to the URL of the IdP login page or a company portal page outside of ServiceNow.
  2. Add the glide.ui.rotate_sessions system property.
    Product documentation reference: https://docs.servicenow.com/csh?topicname=c_HighSecuritySettings.html&version=latest 
  3. Rotate HTTP session identifiers to reduce security vulnerabilities.
    See: https://www.owasp.org/index.php/Session_Management#Rotate_Session_Identifiers
  4. Set Default: Yes

Note: If you are using the SAML 2.0 plugin for single sign-on authentication, set this feature to false. Otherwise, it interferes with the session information sharing that takes place between ServiceNow and the identity provider.

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.