[BUG]

Resolved 💬 3 comments Opened Mar 11, 2026 by slxny Closed Mar 15, 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?

Subject: Claude Code OAuth login fails - 500 error on Max subscription

Issue: Cannot authenticate Claude Code via OAuth.
Error: "OAuth error: Request failed with status code 500"
Previously got 401 "Invalid authentication credentials" after clearing credentials.
Browser shows "Build something great / You're all set" but CLI fails to complete handshake.

What Should Happen?

Usually works 200

Error Messages/Logs

Steps to Reproduce

Subject: Claude Code OAuth login fails - 500 error on Max subscription

Issue: Cannot authenticate Claude Code via OAuth.
Error: "OAuth error: Request failed with status code 500"
Previously got 401 "Invalid authentication credentials" after clearing credentials.
Browser shows "Build something great / You're all set" but CLI fails to complete handshake.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.7

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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