Continuous authentication prompts on Safari on iOS when using Windows auth

Creation date: 5/12/2022 4:12 AM    Updated: 10/4/2026 12:49 PM   ios safari

There is a known issue with Websockets and associated tokens and the way Safari handles them (closes websockets prematurely).  Safari has an experimental setting on by default – NSURL Session Websocket.  Disabling this setting resolves the issue of continuous authentication prompts.

Apple has a bug report related to this setting: https://bugs.webkit.org/show_bug.cgi?id=228296

iOS (prior to iOS 27)

  • Open the Settings app -Scroll down and tap on “Safari”
  • Scroll down to the bottom and tap on “Advanced”
  • Tap on “Experimental Features” at the bottom
  • Scroll down until you see “NSURLSession WebSocket”
  • Disable “NSURLSession WebSocket”

iOS 27 and later

There's another Apple bug https://bugs.webkit.org/show_bug.cgi?id=80362 still unresolved. Apple has removed the NSURLSession WebSocket setting that was previously used as a workaround. If repeated authentication prompts occur when Jitbit Helpdesk uses Windows Integrated Authentication:

  • Fully close and reopen Safari. If necessary, disconnect and reconnect Wi-Fi.
  • On managed corporate iOS devices, administrators can try configuring Apple's Kerberos SSO extension for the Helpdesk URL.
  • As an alternative, try accessing Helpdesk with another browser.
  • The reliable workaround is to use a different authentication method, such as Jitbit username/password or SAML SSO.
Common errors and solutions for Jitbit Helpdesk