[BUG] Can not login
Resolved 💬 5 comments Opened Jun 8, 2025 by cherishh Closed Jun 13, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.17
- Operating System: macOS 15.4.1 (24E263)
- Terminal: Warp
Bug Description
Login with method Anthropic Console account fails with message:OAuth error: Cannot read properties of undefined (reading 'organization_type')
I've setup organization already. I can see that I have a Organization ID on console page.
No matter how many times I retry, same issue comes up.
I login via Google account.
Have tried delete .claude & .claude.json
Steps to Reproduce
- in terminal, type in
claude - [connection check ok]
- Choose text style: Dark mode
- Choose login methd: Anthropic Console account
- Browser opens up
- Clike authorize & wait
- Browser shows success: 'You’re all set up for Claude Code.You can now close this window.'
- Terminal shows error: OAuth error: Cannot read properties of undefined (reading 'organization_type')
Expected Behavior
Successfully login.
Actual Behavior
Shows error: OAuth error: Cannot read properties of undefined (reading 'organization_type')
Additional Context
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗