[BUG] - Switching between two accounts (logout + login) in Claude Code Desktop takes several hours to complete.

Open 💬 0 comments Opened Jun 22, 2026 by sanjaykrsingh

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

[

<img width="517" height="522" alt="Image" src="https://github.com/user-attachments/assets/287af69d-d1e8-4d34-8989-4e40d87b26d9" />

](url)

What Should Happen?

Describe the bug
Switching between two accounts (logout + login) in Claude Code Desktop takes several hours to complete.
Steps to reproduce

  1. Be logged into Account A in Claude Code Desktop
  2. Log out
  3. Attempt to log in with Account B
  4. Login hangs / takes several hours

Expected behavior
Account switching should complete within seconds or a few minutes at most.
Environment

  • Claude Code version: v2.1.185
  • macOS: 15.6 Sequoia (Build 24G84)

Additional context
This only happens when switching between accounts. First-time login is not affected.

Error Messages/Logs

Steps to Reproduce

  1. logout from account
  2. login to another account

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.185

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗