[BUG] Empty page after login in VSCode 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?
When you do login in VSCode extension via pasting the code, after submitting the form it shows nothing. Completely empty sidebar window.
What Should Happen?
It should continue working and showing the UI
Error Messages/Logs
I see this in Output of the extension. Not sure, but might be helpful.
[info] Handling manual auth code input
2025-10-11 15:45:44.685 [info] Saving OAuth tokens to secure storage
2025-10-11 15:45:44.685 [info] OAuth tokens saved to macOS keychain
2025-10-11 15:45:44.829 [info] Login successful
2025-10-11 15:45:44.829 [info] Getting authentication status
2025-10-11 15:45:44.829 [info] Keychain read failed, trying file fallback
2025-10-11 15:45:44.829 [info] OAuth tokens found in secure storage
2025-10-11 15:45:44.829 [info] Auth status: method=claudeai
2025-10-11 15:45:44.830 [info] Closing Claude on channel: vrxq6hp5yro
2025-10-11 15:45:44.869 [info] From claude: [DEBUG] Getting matching hook commands for SessionEnd with query: undefined
[DEBUG] Found 0 hook matchers in settings
2025-10-11 15:45:44.870 [info] From claude: [DEBUG] Matched 0 unique hooks for query "no match query" (0 before deduplication)
2025-10-11 15:45:44.877 [info] From claude: [DEBUG] Cleaned up session snapshot: /Users/akuma/.claude/shell-snapshots/snapshot-zsh-1760186681270-8xmglc.sh
2025-10-11 15:45:44.887 [info] Closing Claude on channel: vrxq6hp5yro
2025-10-11 15:45:44.887 [error] Error from Claude (on channel vrxq6hp5yro): Error: Claude Code process exited with code 1
2025-10-11 15:45:44.888 [info] From claude: Claude Code process exited with code 1
Steps to Reproduce
- Login via code in VSCode extension
- Watch empty window
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.14
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Also, CC asks for logging in a lot. Just almost every day and sometimes even several times a day.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/5801
- https://github.com/anthropics/claude-code/issues/6917
- https://github.com/anthropics/claude-code/issues/8503
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
Same error here. Operating over SSH connection on remote server. Claude Code in terminal works just fine.
Claude Code Version: 2.0.46 Node Version: 25.2.1 NVM Version: 0.40.1
I had the same issue on Linux with VS Code Insiders: after logging in via code, the Claude Code sidebar stayed completely blank.
What finally fixed it for me was:
Install the native Claude Code CLI via the official script (curl -fsSL https://claude.ai/install.sh | bash).
Make sure claude works in the terminal (claude --version, run a quick /login if needed).
Then in VS Code, run Ctrl+Shift+P → “Developer: Reload Window”.
After installing the CLI and reloading the VS Code window, the extension UI started working again and the blank page problem disappeared.
Any one know if this was this fixed in new versions? I am on 2.0.37 and not sure if i can update or not
Still an issue for me