Skip to content

Fix Claude credential lookup via macOS keychain#124

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/fair-wren-7e49778e
Jun 4, 2026
Merged

Fix Claude credential lookup via macOS keychain#124
SDSLeon merged 1 commit into
masterfrom
lightcode/fair-wren-7e49778e

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 4, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: restore Claude auth on macOS when newer Claude Code builds store credentials in the login keychain instead of ~/.claude/.credentials.json.
  • Add a dedicated keychain lookup path that matches Claude Code's service/account naming, including config-dir hashing and OAuth variants, so existing installs remain compatible.
  • Expand coverage for the default, custom-config, and unsafe-username cases to lock in the fallback behavior.

- add helpers for Claude Code keychain service and account naming
- fall back to the macOS login keychain when `~/.claude/.credentials.json` is absent
- cover keychain name derivation and account fallback with tests
@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 4, 2026 5:41am

@SDSLeon SDSLeon merged commit f692613 into master Jun 4, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/fair-wren-7e49778e branch June 4, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant