Duplicate of #199
I am part of a Claude AI Teams organization, and everything works fine on the web interface.
However, when I try to log in via the Claude Code CLI, it only connects to my personal account, not the one related to the company.
My colleagues in the same organization, invited the same way and with the same role as me (non-admin members), can log in wihtout any problem.
I am not the org admin, onlu one colleague is, but aside from that, all members share the same role.
Steps to Reproduce
- Install the claude CLI
- Run the command
- Choose option 2 (because when I use 1, it redirects me to a page asking to choose 2
- Authenticate using my email linked to the Teams orgs ( the same as the personal)
- Result: CLI connects only to my personal account
Current Behavior
- CLI ignores the Teams organization and defaults to my personal account
Expected Behavior
- Be able to log in and use my Claude Teams (organization) account, just like my colleagues
Workarounds Tried
I have already tried the suggestion from issue #377:
- Cleared local CLI config/cache
- Reinstalled the CLI
- Tried both login options:
-
- Claude account with subscription -> redirect me to a page "To log into Claude Code with Teams, start Claude Code and login with “2. Anthropic Console account.”"
-
- Anthropic Console Account -> doesn't recognize the Teams subscription
- Tried different shells (Git Bash, PowerShell)
None of these resolved the issue
Additional Information
- Not an admin, but same role as colleagues who can log in successfully
- Personal and professional share the same email
- CLI version: 1.0.98
Questions
- Is there a way to force the CLI to use the Team organization account ?
- Does the CLI cache a personal account somewhere (and should I clear it differently?)
- Could this be a bug with account linking when both a personal and Teams account exist ?
Duplicate of #199
I am part of a Claude AI Teams organization, and everything works fine on the web interface.
However, when I try to log in via the Claude Code CLI, it only connects to my personal account, not the one related to the company.
My colleagues in the same organization, invited the same way and with the same role as me (non-admin members), can log in wihtout any problem.
I am not the org admin, onlu one colleague is, but aside from that, all members share the same role.
Steps to Reproduce
Current Behavior
Expected Behavior
Workarounds Tried
I have already tried the suggestion from issue #377:
None of these resolved the issue
Additional Information
Questions