Authentication issues on Linux — page 3
Issues the maintainers labelled both platform:linux and area:auth.
372 issues · 79 open · 293 resolved (79%) · first seen May 8, 2025
Is this getting better or worse?
This class of problem is holding steady. 83 new reports in the last 90 days vs 71 in the 90 before — +17%. The open backlog peaked at 79 in 2026-10 and sits at 79 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
223 of these reports name the Claude Code build they were running, spanning 129 releases. Heaviest reporters:
- Claude Code v2.0.76
- Claude Code v2.1.105
- Claude Code v2.1.63
- Claude Code v2.1.177
- Claude Code v2.1.104
- Claude Code v2.1.20
- Claude Code v2.1.1
- Claude Code v2.1.296
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 33 days across 293 closures. Of the 293 closures with a recorded reason, 25% were closed as completed and 221 as not-planned or duplicate. The most recent completed fix landed in 2026-10.
Workarounds reported by the community
102 of these issues post a workaround someone says worked. The highest-engagement ones:
- [Feature Request] Support for OpenCode and Max plan
- …oday. I will hapily return if Anthropic reverses the block, in the meantime I'm researching other models. <img width="575" height="872" alt="Image" src=" /
Found in the thread of #17118 · resolved - Claude Code cannot connect to GitHub's remote MCP server using OAuth authentication
- Current workaround for me was using a Personal Access Token and adding the MCP as follows:
Found in the thread of #3433 · still open - [BUG] login with pasting auth code doesn't work
- …6 64 GNU/Linux) Able to type in the field but cannot paste. Workaround for login if your are using tmux: tmux send-keys -t vwt-ssd:5 'claude' C-m ... some operation and url pop-up .... ... use url get the auth code ... t…
Found in the thread of #47669 · resolved - [BUG] OAuth error: timeout of 15000ms exceeded
- …an log in via claude.ai web browser ✅ - in CLI fails with ❌ Workaround confirmed working for Linux/nvm users: After patching, completes successfully. This confirms the issue is not specific to Windows — it affects Linux…
Found in the thread of #33213 · still open - Support device-code authentication flow (RFC 8628) for Pro/Max subscription users in headless environments
- …on any browser, anywhere. Alternative Solutions Currently I work around this by temporarily installing a minimal GUI + browser on the headless VM, completing OAuth in the browser, then purging the GUI packages. Auth pers…
Found in the description of #22992 · still open
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 201–300
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 372 matches; the statistics above cover all 372.
- [Bug] Remote Control unavailable despite active Claude Max subscription
- [BUG] --callback-port not respected — OAuth listener not started when using /mcp authentication flow.
- [BUG] Invalid Oath - Claude Code
- [BUG] Claude Desktop and Claude Code CLI never re-register MCP tools after OAuth 2.1 handshake on a remote HTTP server
- Remote Control "not yet enabled" on Max plan — v2.1.126 (Arch Linux)
- [BUG] Authentication token header is failing again for AWS Bedrock
- [BUG] Re-authenticate menu crashes with JSON parse error on bearer-only MCP servers in v2.1.120 (not covered by #52158 fix)
- There's an issue with the selected model (claude-haiku-4-5-20251001). It may not exist or you may not have access to it. Run /model to pick a different model.
- [BUG] Paste (Ctrl+V / Shift+Insert) not working in auth prompt over SSH
- Claude Code OAuth flow broken over SSH — cannot paste auth code
- OAuth token expires frequently despite refresh_token present
- [BUG] CLAUDE_CONFIG_DIR does not isolate credentials on Linux/WSL2 (no Keychain)
- [BUG] "Third-party apps now draw from your extra usage" error despite using claude code as expressly allowed.
- [BUG] OAuth token refresh race condition when running multiple Claude Code agents in parallel
- [BUG] OAuth login fails: Unknown scope user:mcp_servers
- [BUG] Credentials stored in literal ~ subdirectory of CWD when CLAUDE_CONFIG_DIR is set
- [BUG] OAuth error: Request failed with status code 403
- [Bug] claude auth login does not complete on headless servers (SSH)
- There's an issue with the selected model [(claude-haiku-4-5-20251001)this applies to all model on my setup]. It may not exist or you may not have access to it. Run /model to pick a different model.
- [BUG] Chrome extension bridge "Invalid token or user mismatch" despite matching account/org (Team account)
- [Bug] Remote Control unavailable for Pro subscription account
- Google Workspace MCP OAuth fails with Error 400: invalid_scope
- [BUG] `claude remote-control` works locally but fails in SSH environment for Max subscriber
- setup-token missing user:profile scope — Usage tab in /status broken
- [BUG] 2.1.19
- [BUG] Claude credential refresh leaves dangling inode when mounting .credentials.json
- [BUG] Session does not reset after account change.
- [Bug] Claude Code generated code caused unintended file deletion during testing
- [BUG] /install-github-app uses invalid flag `gh auth status -a`
- [BUG] Login on Claude Code VSCode extension fails with 400 error but works fine in terminal
- Weekly limit reached · resets 10am (Asia/Seoul) · /upgrade to Max or turn on /extra-usage
- [BUG] The command `/usage` return the error
- [Bug] Prose Formatting Not Resolving Blog Post Formatting Issues
- [BUG] ANTHROPIC_AUTH_TOKEN vs CLAUDE_CODE_OAUTH_TOKEN
- [BUG] Claude code does not take Anthropic environment variables and not show colors in terminal
- [Bug] Unexpected API Credit Depletion Despite Max Plan Subscription
- Claude code execution fails in-between session, Api error 401 is shown. its an authentication.
- Anthropic API Authentication Failure in Claude Code CLI
- [BUG] Claude Code MCP OAuth2 Requirement for http servers, even in local environments
- OAuth Token Refresh Frequency Too High
- API Authentication Failure: Persistent Token Generation Error
- Access Denied: Claude Opus Subscription Not Functioning
- MCP OAuth credentials persisted with expiresAt: 0 and no refreshToken, forcing re-auth every session (mcp.grafana.com, mcp.slack.com)
- [BUG] v2.1.267: OAuth login fails — redirect_uri /oauth/code/callback rejected by server
- [BUG] Navigating left to the task list, then right into a new task, breaks the session with a misleading "login required" error
- Transient daemon leaves stale auth_required in daemon-auth-status.json after keychain re-check recovery
- MCP reconnect fails with "MCP endpoint not found" for OAuth-protected remote HTTP servers (GitLab MCP)
- remote-control: session children exit on expired session_token with no refresh, then daemon permanently refuses to re-spawn them
- Remote Control: createCodeSession returns 401 (silently) from Docker/container environments since ~2026-07-17 — attestation enforcement?
- [BUG] /login workflow stuck in loop on Firefox 151.0.4
- [Bug] Setup documentation unclear and confusing
- [BUG] HTTP MCP with static header auth hangs for full 30s connect timeout
- [BUG] OAuth login fails on Raspberry Pi (linux-arm64): "Invalid OAuth Request - Unknown scope: u"
- Remote Control unavailable on Max subscription — feature flag not rolled out
- [Feature Request] Improve headless/non-browser authentication flow for remote systems
- [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] Claude not loading CLAUDE.md configuration file
- [Bug] Account Access Issue: User account disabled without explanation
- [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] Voice dictation fails ("unstructured error frame", WS close 1008 Invalid authorization) when authenticated via CLAUDE_CODE_OAUTH_TOKEN — voice WebSocket opened without Authorization header
- [Bug] Authentication failure with rotated 1Password token causes session interruption and model downgrade
- API Error: 400 We've updated our Consumer Terms and Privacy...
- [BUG] /switch-account then /account-usage displays old account name but new account usage till refresh
- [BUG] Cannot login on Linux dev environment due to callback error (its not producing the code to paste)
- [HIGH BLOCKER][Bug] Claude OAuth Session Expires Prematurely After Few Turns
- [BUG] Broken access control
- [Bug] MCP server authentication returns HTTP 431 error
- setup-token: parallel `claude -p` spawns sharing CLAUDE_CODE_OAUTH_TOKEN see ~5-10s server-side serialization tax (different tokens unaffected)
- [BUG] Claude API with Claude Code
- I'm not able to generate a GitHub issue title from "resti" as it doesn't contain enough information about the bug or feature request. Could you please provide: - A description of the problem or feature request - Any error messages encountered - Steps to r
- He ampliado mi límite mensual y he recargado dinero, pero...
- [BUG] Cannot paste the Authentication code
- claude auth status reports subscriptionType: "pro" for Max subscribers
- [BUG] HTTP MCP server behind basic auth: stale mcpOAuth entry in .credentials.json forces OAuth flow on every session
- Remote Control not auto-restored after mid-session re-login (even with 'enable for all sessions' on)
- OAuth token expiration is too short for Max subscribers
- [BUG] OAuth login broken on headless/HPC SSH environments — redirect URI not supported`
- [BUG] OAuth url is padded making it difficult to copy
- [BUG] MCP plugin install floods all sessions with OAuth prompts; new sessions always re-authenticate
- [BUG] "Invalid OAuth Request - Unknown scope: user:i" with version 2.1.83
- [BUG] New Pro account user for Claude code. Logged in, but no model access. Linux, latest claude code.
- [BUG] Personal account organization name not updated after changing display name in claude.ai
- Claude Code cannot authenticate from Contabo VPS - Cloudflare blocking claude.ai
- [BUG] claude remote control not working on Pro plan
- Silent model downgrade from Opus to Sonnet after re-authentication (Max subscriber)
- [BUG] ubuntu 24.04 cannot login to account with google chrome due to bad localhost lookup
- Remote Control: 'not enabled for your account' on Max plan
- [BUG] API key authentication accepts credentials at login but fails on first message (Debian/Linux)
- [BUG] Silent crash when running from home directory with config-based OAuth
- [BUG] Print mode (-p) bypasses IP-based authentication checks enforced in interactive mode
- Feature Request: Allow disabling or intercepting bash mode (! prefix) commands
- [BUG] usage command is not available for Pro Subscription Plan
- [BUG] Ellipsis `...` in file names forces a permission check even if the permission is already granted for a given folder
- [BUG] VS Code sidebar interface does not allow MCP server login
- [BUG] Unable to log into vscode extension with sandboxed vscode (web) in 2.0.1
- Bug Report
- [BUG] Task Tool Fails with OAuth Authentication Error for Max Subscription Users
- [BUG] API Error: 401 OAuth Token issue
- [BUG] Unable to obtain key behind corporate proxy
- sso login to vps server damaged due developer recognize cyberattack.