Reported by a desktop user: signing out other sessions with SSO looped.
Server logs: the SSO step completed every time, but each delete_devices
retry came without the session (a fresh 401 challenge), 4 attempts, none
succeeded. The app is the Windows desktop build (WebView2) and the SSO
pages opened in the system browser.
- SSOStage only offered "Continue" once window.open returned a window. The
desktop app opens the page in the system browser (no window back), and a
popup can lose its opener, so "authDone" never arrives and the only way
on was starting over. Now "Continue" (plus "Open the sign-in page again")
appears as soon as the page was opened; authDone still auto-continues.
- ActionUIA: when the server offers password and SSO, the first flow was
forced (often password, which an SSO-only account may not know). Offer
"Use SSO instead" / "Use your password instead".
e2e: desktop (window.open returns null) completes with the session; with
password offered first, SSO is one click away.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5