[BUG] Error: OAuth error: protocol mismatch
Resolved 💬 1 comment Opened Aug 5, 2025 by hukdoesn Closed Aug 6, 2025
Environment
- Platform (select one):
Anthropic API
- Claude CLI version: 1.0.68 (Claude Code)
- Operating System: macOS Sequoia 15.5
- Terminal: tabby
Bug Description
I logged in using a Claude account with a subscription.
Starting at $20/mo for Pro, $100/mo for Max - Best value, predictable pricing.
Error: OAuth error: protocol mismatch
Steps to Reproduce
After following the steps below to clean up, I still get the error: OAuth error: protocol mismatch when logging in again.
rm -rf ~/.config/claude-code/auth.json
rm -rf ~/.npm-global/lib/node_modules/@anthropic-ai/
rm -rf ~/Library/Application\ Support/ClaudeCode
rm -rf ~/.claude
rm -rf ~/.claude ~/.config/claude-code
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗