Skip to content

Subscription auth ("Use your Claude subscription") fails: orchestrator brain still requires ANTHROPIC_API_KEY #542

Description

@sachabelfer

Description

Selecting "Use your Claude subscription" on the "Connect Your AI" onboarding screen does not work, even after a fully successful Claude Code CLI login.

Steps to reproduce

  1. Install Claude Code CLI (npm install -g @anthropic-ai/claude-code)
  2. Run claude and complete /login → select "Claude account with subscription (Pro, Max, Team, or Enterprise)"
  3. Confirm login succeeded — CLI shows Logged in as <email> and Login successful
  4. Open Juno, select "Use your Claude subscription" on the Connect Your AI screen
  5. Fully quit (Cmd+Q) and relaunch Juno to rule out stale state

Expected

Juno's orchestrator picks up the CLI's OAuth session, same as the "No API key needed — uses Claude Code CLI authentication" copy promises.

Actual

Every attempt (including after a clean CLI login and full app restart) returns:

Failed to initialize orchestrator brain: Configuration error: Anthropic API key not found in settings or ANTHROPIC_API_KEY env var

Environment

  • Claude Code CLI: v2.1.270
  • Model shown in CLI: Sonnet 5 · Claude Pro
  • OS: macOS
  • Juno: latest (npm juno-cua / desktop app)

Notes

The CLI-side auth is confirmed working (claude config get / terminal shows Logged in as ..., Login successful), so the issue appears to be in how the orchestrator brain component reads (or fails to read) the CLI's stored credentials — it seems to require ANTHROPIC_API_KEY regardless of subscription login state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions