[BUG] Cannot login vscode claude

Status Fixed / completed
Reported on v2.1.15
Maintainer reply None cached
Activity 6 comments · opened Jan 22, 2026 · closed Jan 22, 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?

I cannot login to claude code in vscode.

What Should Happen?

<img width="1056" height="1127" alt="Image" src="https://github.com/user-attachments/assets/f82f382a-d6d1-4601-b3d5-d1a395a5a21b" />

It just says: token exchange failed: [object Object]

Error Messages/Logs

Steps to Reproduce

try login in vscode

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

version before 2.1.15 (vscode)

Claude Code Version

I'm using vscode version and not terminal

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

6 Comments

ecourn · 8 months ago

I also got the OAuth error: "Failed to fetch user roles: Request failed with status code 500" just now.

ekolivero · 8 months ago

Same, I think auth service is down

Prakkkmak · 8 months ago

Same

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20091
  2. https://github.com/anthropics/claude-code/issues/14023
  3. https://github.com/anthropics/claude-code/issues/19003

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

ShadowNineX · 8 months ago
Same, I think auth service is down

Yeah apparently. https://status.claude.com/

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.