[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_
6 Comments
I also got the OAuth error: "Failed to fetch user roles: Request failed with status code 500" just now.
Same, I think auth service is down
Same
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Yeah apparently. https://status.claude.com/
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.