[BUG] vscode extension "Switch Account" doesn't
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?
the 'switch account' user flow in the vscode extension is broken. it doesn't actually log in the extension.
What Should Happen?
way, way fewer steps.
actually log in the vscode extension.
Error Messages/Logs
Steps to Reproduce
- in the vscode claude code extension,
/Swtich Account - click the 'Claude.ai Subscription' button:
<img width="260" height="118" alt="Image" src="https://github.com/user-attachments/assets/bbd3ebdb-7153-47ee-9976-652ece2be0bd" />
- click 'Open' in the 'Do you want to open the external website' dialog:
<img width="189" height="106" alt="Image" src="https://github.com/user-attachments/assets/2627ff8f-7382-4d35-94c1-6a576192c29d" />
- click the 'Switch account' button on the page that opens (why? it already knows that's what i want to do):
<img width="269" height="77" alt="Image" src="https://github.com/user-attachments/assets/e44bf4ce-43f8-4bac-b2eb-26469c8f6062" />
btw: clicking 'Authorize' on this page works fine to authorize the extension with the old account, so the bug is after this.
- login on the webpage (google or email, doesn't matter):
<img width="476" height="313" alt="Image" src="https://github.com/user-attachments/assets/d326de4c-4e22-48b0-b75c-988eca87e70e" />
it just drops you at https://claude.ai/new. it completely forgets that it's supposed to authenticate the plugin.
to continue you have to go through the manual code copy/paste.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.42 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗