Authentication issues on VS Code
Issues the maintainers labelled both platform:vscode and area:auth.
112 issues · 22 open · 90 resolved (80%) · first seen Feb 24, 2026
Is this getting better or worse?
This class of problem is converging. 43 new reports in the last 90 days vs 61 in the 90 before — -30%. The open backlog peaked at 29 in 2026-04 and sits at 22 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
81 of these reports name the Claude Code build they were running, spanning 58 releases. Heaviest reporters:
- Claude Code v2.1.241
- Claude Code v2.1.150
- Claude Code v2.1.76
- Claude Code v2.1.114
- Claude Code v2.1.206
- Claude Code v2.1.201
- Claude Code v2.1.185
- Claude Code v2.1.170
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 32 days across 90 closures. Of the 90 closures with a recorded reason, 24% were closed as completed and 68 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
26 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] API Error: Rate limit reached despite Claude Max subscription and only 16% usage
- …nType: null and rateLimitTier: null. API credits were added as a workaround — they were consumed instantly (within seconds), leaving the account in debt. After fresh login subscription is recognized (subscriptionType: "m…
Found in the description of #29579 · still open - [BUG] Cannot paste auth code into "Paste code here if prompted >" during /login in Dev Container (v2.1.105)
- I have a solution that works for me. WSL workaround when paste is broken during /login If you're on WSL, have no browser, and can't paste the token, install wslu so WSL can open your Windows browser for the OAuth flow: R…
Found in the thread of #47699 · resolved - [FEATURE] Multi-account support in VSCode extension
- …quota of a single Claude Pro account within a day. A common workaround is to maintain two separate Claude Pro accounts and switch between them. This works well in the terminal via , but the VSCode extension always uses a…
Found in the description of #55621 · still open - [BUG] "Remote Control environments are not available for your account." for Claude Code Pro Plan user
- …lly will fix this — it's server-side. Stop spending time on workarounds. 2. 👍 vote on the upstream tracking issue 28817 to signal demand for faster Pro rollout 3. Upgrade to Max plan ($100/month) if Remote Control is cr…
Found in the thread of #29449 · still open - [BUG] Extension 2.1.207 breaks Bedrock SSO auth (UnauthorizedException: Session token not found or invalid) — 2.1.206 works
- …ARN. - Settings follow the documented SSO pattern exactly: Workaround Bypass the bundled SSO resolver and hand Claude Code materialized credentials from the AWS CLI: With this set, requests succeed again.
Found in the thread of #77138 · resolved
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 1–100
Ranked by community engagement (reactions weighted over comments).
- [BUG] API Error: Rate limit reached despite Claude Max subscription and only 16% usage
- [BUG] Cannot paste auth code into "Paste code here if prompted >" during /login in Dev Container (v2.1.105)
- [FEATURE] Multi-account support in VSCode extension
- [BUG] "Remote Control environments are not available for your account." for Claude Code Pro Plan user
- [BUG] Extension 2.1.207 breaks Bedrock SSO auth (UnauthorizedException: Session token not found or invalid) — 2.1.206 works
- [BUG] VS Code extension blocks Fable 5 with "requires usage credits" while account has 20% of weekly Fable allowance remaining (Max plan)
- [BUG] VS Code Extension OAuth Auth Loop on Windows — Extension Repeatedly Loses Authentication Despite Successful Browser Authorization
- [BUG] Official Claude Code VS Code extension incorrectly blocked with "Third-party apps now draw from your extra usage" error
- [BUG] [VSCode Extension] MCP Authenticate button does not open browser on macOS
- OAuth callback fails in devcontainers: server binds to IPv6 (::1) but VS Code port forwarding connects via IPv4
- **Bug: Pro subscription not recognized in VS Code extension**[BUG]
- [Bug] API Error: Rate limit reached on Max Plan subscription
- [BUG] OAuth login fails with timeout issue on VS Code mac
- [BUG] VS Code extension login prompt not bypassed with claudeCode.disableLoginPrompt: true when using Microsoft Foundry
- VSCode extension ignores per-workspace auth when using CLAUDE_CONFIG_DIR
- [BUG] Claude code for VS Code OAuth token expiry not handled gracefully
- Claude Code (VS Code extension) prompts for usage credits on Fable 5 despite Max plan showing full entitlement
- [BUG] Persistent authentication loop across VS Code extension, CLI, and email login flow
- [BUG] 2.1.193 VS Code extension (Windows, native): OAuth login fails "certificate has expired" — regression from 2.1.190
- [Bug] Anthropic API Error: Third-party app usage requires manual credit claim
- [BUG] VS Code Extension Authentication Completely Broken on Linux aarch64
- [BUG] Failed to authenticate. API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"Invalid authentication credentials"},"request_id":"xxxxxxxxx"}
- [BUG]
- [BUG] Claude Code VS Code extension signs out automatically every time VS Code is closed and reopened
- Account switches from subscription (i16@i16.jp) to API billing (old account) when tools are used in VS Code extension
- [BUG] Vercel MCP OAuth token not persisted — empty accessToken after every auth
- VS Code extension forces daily re-login due to refresh token rejection (400) when multiple windows are open
- MCP OAuth token exchange omits client_id in body, breaks public PKCE clients (Wrike)
- VS Code extension always returns 401 "OAuth token has expired" on macOS 12 (Monterey) - cannot authenticate at all
- [BUG] MCP OAuth support for HTTP servers (e.g. Atlassian official MCP)
- [BUG] credential_process fails on second API call in session (2.1.79 regression)
- [BUG] Claude Code (VS Code) incorrectly prompts to purchase Fable 5 credits despite usage being far below the plan-included limit
- [BUG] Billing API-default bug
- [BUG] OAuth error: Request failed with status code 400
- [BUG] /logout command is missing in Claude Code VS Code Extension
- [BUG] Failed to retrieve auth status after login.
- CLAUDE AI subscription not recognized
- [BUG] Claude Code VS Code Extension crashes on Windows 11 with error 3221225477
- [BUG] Claude Code VS Code extension completes browser OAuth successfully but never receives the token, causing an infinite login loop
- [BUG] Gift Pro subscription redeemed but account shows Free plan - Claude Code cannot authenticate
- [Bug] Anthropic API Error: Third-party app routing for Claude Max OAuth sessions
- [BUG] official VS Code extension does not work due to API error
- [BUG] Claude Code Extension (VSCode) Cannot Authenticate with Azure AI Foundry
- [BUG] VS Code extension host crashes when OAuth /api/oauth/claude_cli/client_data returns 429 — no backoff, kills all extensions
- [BUG] Claude Code login not working in dev containers in VS Code
- [BUG] `Failed to authenticate. API Error: 401 Invalid authentication credentials` and THEN: `Claude configuration file at /Users/<user>/.claude.json is corrupted: Unexpected end of JSON input` when tried to do `claude -p`
- [BUG] VS Code extension prompts re-login on every PC restart when access token is expired at startup
- [BUG] Forced to Reauth after sleep
- [BUG] vscode extension "Switch Account" doesn't
- Usage allowance shared across two separate Anthropic accounts in parallel VS Code Claude Code sessions
- [BUG] Authentication login loop - user cannot authenticate VS Code extension despite valid organization membership
- [BUG] VS Code extension in Codespaces fails Bedrock auth with "Could not load credentials from any providers" while same Claude binary works from shell
- [Bug] Claude Code not falling back to pro subscription after extra usage exhaustion
- Max plan blocked from using official VSCode extension after April 4 rollout
- [BUG] Credentials can be created but cannot be used by Claude Code client
- Claude Code ignores ANTHROPIC_API_KEY when OAuth redirect fails in Docker Compose devcontainer
- [FEATURE] VSCode integration has no way to display which subscription is currently active in my claude code conversation or panel
- [BUG] Disconnected cloud MCP connectors (e.g. Atlassian) still trigger browser OAuth prompt on every session start
- [BUG] Cannot log in to Claude Code in VS Code — verification emails never delivered
- Endless SecurityAgent prompt stack for "Claude Code-credentials": credential rewrite creates keychain partition mismatch, "Always Allow" can never persist (behavior persists after #41026 was closed as resolved)
- [BUG] 2026-06-29 14:52:24.517 [info] From claude: 2026-06-29T09:22:24.518Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json
- [BUG] VS Code extension requires re-authentication every ~8 hours — OAuth token refresh blocked by Cloudflare
- now,new version v2.1.162 ,this issue is not Resolve
- [BUG] No logout mechanism in VSCodium extension — credentials irrecoverable without CLI
- GitLab MCP OAuth fails with "The requested scope is invalid, unknown, or malformed"
- [BUG] Issue trying to log in after log out
- [BUG] VS Code extension: Remote Control fails in devcontainers until CLI is manually authenticated
- [BUG] vscode + ssh + wsl + claude code plugins loading error!
- [BUG] firstParty dispatch returns 401 "User not found" for a valid OAuth token that the standard API accepts (VSCode remote-SSH ext 2.1.185)
- [BUG] Personal Max subscription blocked in Claude Code — "Your organization has disabled Claude subscription access"
- [BUG] /switch-account then /account-usage displays old account name but new account usage till refresh
- can't get the correct version of the account to get access
- [HIGH BLOCKER][Bug] Claude OAuth Session Expires Prematurely After Few Turns
- [Bug] Subscription plan display inconsistency across devices
- [BUG]
- [BUG] VS Code Connexion compte Google
- [BUG] After pasting the API Token ID - The Visual Studio code Claude extension - contnue button not working. Nothing happens , no response
- [BUG] Opus model not shown in VS Code extension when organization UUID fetch returns 403
- [BUG] Account switch not reflected in active conversation - shows stale account until new chat
- [BUG] HTTP MCP server behind basic auth: stale mcpOAuth entry in .credentials.json forces OAuth flow on every session
- [Bug] Paid Claude Max subscription not visible on claude.ai web despite active CLI authentication
- [BUG] Server outage caused immediate and total lockout of Claude Code in VS Code
- [BUG] Personal account organization name not updated after changing display name in claude.ai
- [BUG] Claude VSCode extension: on every update I need to re-authenticate
- [Bug] VSCode Extension: Token Exchange Failed with HTTP 400 Status
- [BUG] Claude VSCode Extension loses Authorization Info
- [BUG] VS Code extension login prompt not bypassed with claudeCode.disableLoginPrompt: true when using Microsoft Foundry
- [BUG] API key authentication accepts credentials at login but fails on first message (Debian/Linux)
- [FEATURE] VSCode extension doesn't show which account is logged in
- [BUG] Personal Pro/Max subscription blocked with "organization has disabled Claude subscription access" error
- [BUG] Automatically revoked vs-code-extension , and not able to connect with vs-code anymore
- [BUG] `claudeCode.disableLoginPrompt`:`true` not being respected in VS code extension
- Sign in button not redirecting
- [BUG]
- subscriptionType shows "pro" instead of "max" for Max 5x subscribers
- [BUG] Re-Authorising Claude.
- [BUG] Logging in via VS Code extension does not set `hasCompletedOnboarding`, so the CLI TUI forces the full onboarding/login flow in a fresh `CLAUDE_CONFIG_DIR`
- [BUG] Report: Claude Code VS Code Extension crashes with exit code 3221225477 on Windows 11 x64
- [BUG]
- [BUG]