What's wrong with this entry?
Anonymous. No account, no email.
What
Log in to Claude Code non-interactively by providing an OAuth refresh token via environment variables, enabling automated CI/CD and headless deployments without a browser.
Usage
export CLAUDE_CODE_OAUTH_REFRESH_TOKEN="your-refresh-token"
export CLAUDE_CODE_OAUTH_SCOPES="user:inference"
claude /loginDetails
CLAUDE_CODE_OAUTH_SCOPESis required when using the refresh token — the CLI exits with a helpful error message if missing- Scopes should be space-separated (e.g.,
"user:profile user:inference user:sessions:claude_code user:mcp_servers") - Bypasses the browser-based OAuth flow entirely
Evidence
Refresh token login flow (search for "CLAUDE_CODE_OAUTH_REFRESH_TOKEN")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.