Authentication issues on VS Code
Issues the maintainers labelled both platform:vscode and area:auth.
141 issues · 43 open · 98 resolved (70%) · first seen Feb 24, 2026
Is this getting better or worse?
This class of problem is holding steady. 44 new reports in the last 90 days vs 53 in the 90 before — -17%. The open backlog peaked at 43 in 2026-10 and sits at 43 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
104 of these reports name the Claude Code build they were running, spanning 71 releases. Heaviest reporters:
- Claude Code v2.1.296
- Claude Code v2.1.280
- Claude Code v2.1.241
- Claude Code v2.1.150
- Claude Code v2.1.76
- Claude Code v2.1.114
- Claude Code v2.1.286
- Claude Code v2.1.251
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 98 closures. Of the 98 closures with a recorded reason, 24% were closed as completed and 74 as not-planned or duplicate. The most recent completed fix landed in 2026-09.
Workarounds reported by the community
35 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 - [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] 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 - [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
- [FEATURE] Multi-account support in VSCode extension
- [BUG] Cannot paste auth code into "Paste code here if prompted >" during /login in Dev Container (v2.1.105)
- [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
- Windows/VSCode: concurrent sessions race on OAuth refresh against the file credential store (400 → forced re-login)
- [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
- [BUG] Persistent authentication loop across VS Code extension, CLI, and email login flow
- [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] 2.1.193 VS Code extension (Windows, native): OAuth login fails "certificate has expired" — regression from 2.1.190
- [BUG] Failed to authenticate. API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"Invalid authentication credentials"},"request_id":"xxxxxxxxx"}
- [Bug] Anthropic API Error: Third-party app usage requires manual credit claim
- [BUG] VS Code Extension Authentication Completely Broken on Linux aarch64
- VSCode extension ignores per-workspace auth when using CLAUDE_CONFIG_DIR
- 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]
- [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] VS Code extension logs out after idle/overnight, requires full re-login despite being logged in on claude.ai
- [BUG] Windows/VS Code: OAuth refresh token rejected (HTTP 400) after every sleep/wake since 2.1.247, forces /login daily (refresh raced at extension startup or lost mid-flight)
- VS Code extension: /design-login "isn't available in this environment" — no path to grant user:design scopes, /design-consent dead-ends with 403
- [BUG] Claude Code (VS Code) incorrectly prompts to purchase Fable 5 credits despite usage being far below the plan-included limit
- [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] 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.
- [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
- 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] MCP OAuth discovery (.well-known) fails with InvalidHTTPResponse across multiple servers
- Remote Control unavailable — feature flag tengu_onyx_plover.remoteEnabled is false, no toggle shown in VS Code extension
- [BUG] VS Code extension: login fails with "Request failed with status code 400" at code-exchange step
- [BUG] Cannot log in to Claude Code in VS Code — verification emails never delivered
- [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] No logout mechanism in VSCodium extension — credentials irrecoverable without CLI
- [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] OAuth login fails with status code 400 in VS Code and "Invalid code" in CLI on macOS
- [BUG] VSCode extension shows "OAuth session expired and could not be refreshed" despite a valid, non-expired Keychain credential
- [BUG] Personal Max subscription blocked in Claude Code — "Your organization has disabled Claude subscription access"
- [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
- 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!
- [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] 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]
- [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]
- [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