[BUG] VS Code extension "Claude.ai Subscription" login never completes — local OAuth callback listener starts ~18-21s too late

Status Open
Reported on v2.1.226
Maintainer reply None cached
Activity 0 comments · opened Aug 8, 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?

claude-code-vscode-login-bug-report.md
2.1.226 (Claude Code)

What Should Happen?

浏览器完成 OAuth 授权后,插件应该在几秒内检测到登录成功,并切换到已登录的聊天界面。

Error Messages/Logs

Steps to Reproduce

打开 VS Code 里的 Claude Code 面板,出现"选择登录方式"界面
点击"Claude.ai Subscription"
浏览器打开,完成 OAuth 授权,显示"You're all set up for Claude Code"成功页
返回 VS Code,插件面板仍然停留在"选择登录方式",没有变化

详细诊断数据(Network 面板耗时、netstat 端口监听时间线)见附件报告。

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.226 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗