{"version":"1.0.116","anchor":"environment-specific-oauth-credentials","canonical_anchor":"environment-specific-oauth-credentials","heading":"Environment-Specific OAuth Credentials","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.116\/e\/environment-specific-oauth-credentials","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.116","markdown":"### Environment-Specific OAuth Credentials\n\n**What:** Separate OAuth credential storage for local development vs production\n\n**How to use:**\n\n`# Production credentials (default) # Stored in: ~\/.claude.json # Local development credentials export USE_LOCAL_OAUTH=1 # Stored in: ~\/.claude-local-oauth.json` **Details:**\n\n- Prevents accidentally overwriting production OAuth tokens during development\n- Separate keychain entries: \"Claude Code\" vs \"Claude Code-local-oauth\"\n- Configuration files: `.claude.json` (prod) or `.claude-local-oauth.json` (local)\n- Infrastructure for staging environment included but not yet active\n- **Evidence**: `Uo1() at line 339682`, `KZ9() at line 339686`, `uJ() at line 339696`"}