[BUG] Infinite login in VS Code extension
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?
So, I have extension installed, was using it just fine, everything worked how it should. Then I temorary disabled it. Now, I enabled it again, and everytime I try to promt anything it sends me to login window. After I login (tried both using opening window in browser and authorization code), it opens chat window. But as soon as I promt something it sends me to login window again.
I'm using Windows 11, I tried re-installing extension, re-logging manualy, completly deleting files in User/.vscode/extensions and it all didn't work.
What Should Happen?
It should let me use it
Error Messages/Logs
Failed to authenticate. API Error: 403 {"error":{"type":"forbidden","message":"Request not allowed"}}
Steps to Reproduce
Disable and enable extension.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.45
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
<img width="770" height="849" alt="Image" src="https://github.com/user-attachments/assets/4e9002df-c24a-470c-8775-6835a8fbf977" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗