SSO login gets stuck on auth_redirect.do after session timeout due to multiple URL encodingIssue SSO login gets stuck on auth_redirect.do after session timeout due to multiple URL encoding Symptoms After a user's session expires, selecting Login from the session timeout prompt may intermittently leave the browser stuck on: /auth_redirect.do The browser may repeatedly request auth_redirect.do without completing authentication or redirecting the user to the configured Identity Provider (IdP). Release All Cause Analysis of HAR files from working and non-working login attempts showed that the failing SSO URL contained sysparm_url and RelayState values that were encoded multiple times, including double or triple encoding. Because of this additional encoding, the redirect parameters could not be parsed correctly and the expected redirect to the IdP was not generated. How to identify the issue: Capture a HAR file while reproducing the problem and review the SSO authentication requests. https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0994933 In the affected scenario, the investigation showed: /auth_redirect.do HTTP 200 OK Empty response body X-Is-Logged-In: false The browser continued requesting auth_redirect.do, while no outbound request to the IdP was present in the HAR. Compare the following parameters between a working and failing authentication attempt: sysparm_url RelayState In the investigated case, the successful flow had correctly structured encoding, while the failing flow contained multiple levels of URL encoding. Resolution Review the component constructing or passing the SSO URL before it reaches ServiceNow. This may include the portal, IdP initiation flow, proxy, or another intermediary layer. Ensure that the URL parameters are encoded only once before being passed to ServiceNow. After correcting the URL construction, the expected flow should allow the browser to proceed from auth_redirect.do to the IdP rather than remaining on the redirect page.