[BUG]

Resolved 💬 3 comments Opened Jan 27, 2026 by almas-lang Closed Jan 30, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude Code v2.1.20
macOS
Claude Max subscription
"OAuth token expired loop — login command fails with 401 before opening browser"

What Should Happen?

i want to be able to code with no inturruptions

Error Messages/Logs

Steps to Reproduce

claude login

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.20

Claude Code Version

v2.1.20

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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