Unable to login to Claude Code - authentication_error
Resolved 💬 4 comments Opened Aug 16, 2025 by yesunesun Closed Aug 16, 2025
⎿ API Error: 401
{"type":"error","error":{"type":"authentication_error","message":"OAuth
authentication is currently not supported."}}
I have tried all options I can find on the internet from:
rm -rf ~/.claude
rm ~/.claude.json
to reinstalling claude, or configuring ANTHROPIC_API_KEY in .env file, it just doesn't work. I tried with another account but same problem.
So frustrating. It was working fine, I just logged out and try to login again.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗