[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

  1. in terminal, type in claude
  2. [connection check ok]
  3. Choose text style: Dark mode
  4. Choose login methd: Anthropic Console account
  5. Browser opens up
  6. Clike authorize & wait
  7. Browser shows success: 'You’re all set up for Claude Code.You can now close this window.'
  8. 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

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗