[PR #103] Support Claude Code OAuth login (no API key needed) #118

Open
opened 2026-02-27 08:09:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/KeygraphHQ/shannon/pull/103
Author: @prajapatimehul
Created: 2/9/2026
Status: 🔄 Open

Base: mainHead: oauth-login-support


📝 Commits (2)

  • 35590d1 feat: support Claude Code OAuth login as auth source
  • e0bc3e6 docs: add claude login as auth option in README and .env.example

📊 Changes

4 files changed (+22 additions, -6 deletions)

View changed files

📝 .env.example (+8 -2)
📝 README.md (+10 -3)
📝 docker-compose.yml (+1 -0)
📝 shannon (+3 -1)

📄 Description

Lets you run Shannon with just claude login on the host — no API key needed.

What changed

  • docker-compose.yml — mount host ~/.claude into the worker container so the Claude Code subprocess can find OAuth credentials
  • shannon — fall back to ~/.claude/.credentials.json in the auth check before erroring out
  • README.md — document claude login as the easiest auth option
  • .env.example — add claude login as option 1

Why not read-only mount?

Claude Code writes debug logs to ~/.claude/debug/. A :ro mount crashes it with EROFS: read-only file system.

Tested

Ran ./shannon start with no API key in .env, just claude login credentials on the host. Workflow started and pre-recon agent ran 150+ turns successfully.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/KeygraphHQ/shannon/pull/103 **Author:** [@prajapatimehul](https://github.com/prajapatimehul) **Created:** 2/9/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `oauth-login-support` --- ### 📝 Commits (2) - [`35590d1`](https://github.com/KeygraphHQ/shannon/commit/35590d1a8ee170efead5e2cb76192aa18c84fe66) feat: support Claude Code OAuth login as auth source - [`e0bc3e6`](https://github.com/KeygraphHQ/shannon/commit/e0bc3e6abce0d2b5736eb1c73fb05fa0d305fdf9) docs: add claude login as auth option in README and .env.example ### 📊 Changes **4 files changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+8 -2) 📝 `README.md` (+10 -3) 📝 `docker-compose.yml` (+1 -0) 📝 `shannon` (+3 -1) </details> ### 📄 Description Lets you run Shannon with just `claude login` on the host — no API key needed. ### What changed - **docker-compose.yml** — mount host `~/.claude` into the worker container so the Claude Code subprocess can find OAuth credentials - **shannon** — fall back to `~/.claude/.credentials.json` in the auth check before erroring out - **README.md** — document `claude login` as the easiest auth option - **.env.example** — add `claude login` as option 1 ### Why not read-only mount? Claude Code writes debug logs to `~/.claude/debug/`. A `:ro` mount crashes it with `EROFS: read-only file system`. ### Tested Ran `./shannon start` with no API key in `.env`, just `claude login` credentials on the host. Workflow started and pre-recon agent ran 150+ turns successfully. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#118
No description provided.