[BUG] Claude Code connects to Pro Account instead of selected Team organization
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?
Bug: Claude Code connects to Pro Account instead of selected Team organization
Description
Claude Code consistently connects to my Pro account instead of my Team plan, despite explicitly selecting the Team organization during the authentication process.
Environment
- Claude Code Version: 2.0.55
- OS: Windows
- Account setup: Single email address with access to multiple organizations (Pro + Team)
Steps to Reproduce
- Run
claude auth logout - Run
claude auth login - Complete browser authentication
- Explicitly select the "Team plan" organization from the organization selector
- Complete authentication
- Run
claude auth status
Expected Behavior
Claude Code should connect to the selected Team organization and claude auth status should display:
Login method: Team Account (or similar)
Organization: [Team Organization Name]
Actual Behavior
claude auth status shows:
Version: 2.0.55
Session ID: [session-id]
Login method: Claude Pro Account
Organization: [user-email]'s Organization
Email: [user-email]
The Pro account is used instead of the Team organization, despite the Team organization being explicitly selected during authentication.
Additional Context
- Both organizations (Pro and Team) use the same email address
- The Team organization is properly selected and active in the web interface (claude.ai)
- The organization selector clearly shows both "Personal (Pro plan)" and "Team organization name (Team plan)" options
- This appears to be an authentication/organization selection persistence issue
Workaround Attempted
None successful so far. The authentication process doesn't seem to respect the organization selection when multiple organizations exist under the same email.
What Should Happen?
Claude Code should authenticate using the organization explicitly selected during the browser login flow. When selecting the Team plan organization, claude auth status should reflect this choice and use the Team account, not default to the Pro account.
Error Messages/Logs
Steps to Reproduce
- Have access to both Pro and Team organizations with the same email
- Run
claude auth logout - Run
claude auth login - In the browser, select the Team plan organization (not Personal/Pro)
- Complete authentication
- Run
claude auth status - Observe that it shows "Login method: Claude Pro Account" instead of Team
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.0.55
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗