Authentication issues on Linux — page 3
Issues the maintainers labelled both platform:linux and area:auth.
326 issues · 64 open · 262 resolved (80%) · first seen May 8, 2025
Is this getting better or worse?
This class of problem is holding steady. 81 new reports in the last 90 days vs 96 in the 90 before — -16%. The open backlog peaked at 64 in 2026-08 and sits at 64 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
184 of these reports name the Claude Code build they were running, spanning 103 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.233
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 262 closures. Of the 262 closures with a recorded reason, 26% were closed as completed and 194 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
87 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 326 matches; the statistics above cover all 326.
- [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
- [BUG] Desktop Linux on ChromeOS/Crostini: silent fallback to unencrypted storage — "sign-in won't be saved" despite working gnome-keyring
- [BUG] OAuth login fails on Raspberry Pi (linux-arm64): "Invalid OAuth Request - Unknown scope: u"
- [Bug] Remote Control unavailable despite active Claude Max subscription
- [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)
- API Error: 400 We've updated our Consumer Terms and Privacy...
- [BUG] --callback-port not respected — OAuth listener not started when using /mcp authentication flow.
- [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
- [FEATURE] No way to verify which org/account a `claude setup-token` token is scoped to, after generation
- [BUG] Headless session start reports already-authorized claude.ai connectors as requiring authentication; tool calls then succeed
- [BUG] Navigating left to the task list, then right into a new task, breaks the session with a misleading "login required" error
- CVP 18 days as pending after regression. (I was allowed until 30/07). Cant work like this.
- 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)
- DesignSync scope error tells user to run /login, but only /design-login can grant design scopes
- 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
- Remote Control unavailable on Max subscription — feature flag not rolled out
- [Feature Request] Improve headless/non-browser authentication flow for remote systems
- [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
- Credit balance is too low .. Closed
- Chrome extension bridge "Invalid token or user mismatch" despite matching account/org (Team account)
- [BUG] Claude Code Installation Failure Report - Replit Environment
- ● Update(.claude/settings.json) Unable to activate custom output styles : created two following the process. None have been added to the selection list.
- [BUG] API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."},"request_id":"req_011CSMDAuTt7hdDMXUHz1zpy"}
- Despite logging in and logging out repeatedly as well as...
- Invalid API Request: Empty Message Content Violation
- "Multi-Client Authentication: Add User Logout and Scoped Login Functionality"
- [Feature Request] Cache API credentials to avoid repeated authentication prompts
- [BUG] remote-control: transient supervisor exits (poll 401 / memory pressure) permanently orphan every attached session — environment survives a 2s restart but not a 10s one
- [BUG] Second account shows 100% usage after first prompt despite zero prior usage — same billing method as another account