OAuth redirect issueDescriptionSSO, OAuth Redirect, Shows Error with code after Idle time instead of Refresh When the Sk8s autocomplete service runs in Now Assist for Code and the user’s session expires, the periodic token‑refresh interval still attempts an OAuth flow. The fetch to /oauth_auth.do uses the expired session ID, causing the platform to store OAuth state and later replay it after the user logs back in. As a result, after login the browser is redirected through the OAuth chain to /api/sn_now_assist_code/code_assist_service_api/oauth_redirect, which returns raw XML instead of a normal page, leaving the user stranded.Steps to Reproduce Steps to Reproduce1. Open a ServiceNow instance (Zurich) that has the Now Assist for Code scoped app installed and Sk8s autocomplete enabled2. Open a script editor (e.g., a Business Rule or Script Include) — this initializes Sk8sAuthTokenService and starts the 4-minute refresh interval3. Let the session expire without closing the tab (walk away, or manually expire the session server-side)4. Do not refresh or navigate — leave the stale tab open5. Wait for the next token refresh interval to fire (~4 minutes) — the old code calls oauth_auth.do with no active session, causing the platform to store the pending OAuth authorization state server-side6. Log back in via a separate tab or by navigating to login.doWorkaroundThis issue has been fixed in Now assist for code v28.5.19, It is available from Zurich P8. Related Problem: PRB2005377