[BUG] Failed to retrieve auth status after login.

Resolved 💬 6 comments Opened Feb 24, 2026 by JudahA72 Closed Mar 25, 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?

When trying to use Claude Ai in as a sidebar code editor I cannot login. The message " Failed to retrieve auth login keeps happening. No matter the number of restarts, different versions etc using windows os.

Currently using VSCode version: 1.109.5
Node.js: 22.21.1

What Should Happen?

Should just let me login, as it works on macbook computer.

Error Messages/Logs

https://claude.ai/oauth/authorize?code=true&client_id=9d1c250a-e61b-44d9-88ed-5944d1962f5e&response_type=code&scope=user:profile+user:inference+user:sessions:claude_code+user:mcp_servers&code_challenge=xV2t0VuiV6x8AsYls9ahSW_hukYtPNHwSY6Qn0L9CR8&code_challenge_method=S256&state=dtQ78vc_Xg266qKSMCD-421-hsf9zFSATzMk6hHaAlQ&redirect_uri=http://localhost:57711/callback

Steps to Reproduce

Click Claude.ai Subscription, authenticate in external browser and issue persists.

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.51 (Claude Code)

Platform

Other

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

<img width="279" height="422" alt="Image" src="https://github.com/user-attachments/assets/3936a824-43dc-4e30-b3ae-1ff17a80d5d8" />

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗