Skip to content

fix(auth): remove CLAUDE_CODE_SIMPLE env var that breaks OAuth auth#965

Merged
acreeger merged 1 commit intomainfrom
fix/remove-claude-code-simple-auth
Mar 23, 2026
Merged

fix(auth): remove CLAUDE_CODE_SIMPLE env var that breaks OAuth auth#965
acreeger merged 1 commit intomainfrom
fix/remove-claude-code-simple-auth

Conversation

@acreeger
Copy link
Copy Markdown
Collaborator

Summary

  • CLAUDE_CODE_SIMPLE=1 env var was being passed to claude -p invocations for commit message and branch name generation
  • This env var disables OAuth credential lookup in Claude CLI, causing "Not logged in" errors when no ANTHROPIC_API_KEY is set
  • Removes the env var from both CommitManager.ts and claude.ts (branch name generation), and removes the associated test

CLAUDE_CODE_SIMPLE=1 disables OAuth credential lookup in Claude CLI,
causing "Not logged in" errors for branch name and commit message
generation when no ANTHROPIC_API_KEY is set.
@acreeger acreeger merged commit 308e55c into main Mar 23, 2026
4 checks passed
@acreeger acreeger deleted the fix/remove-claude-code-simple-auth branch March 23, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant