Repository navigation
docs: note that macOS keychain claude logins do not persist refreshes - #468
Merged
Merged
Conversation
The Docker wrapper bind-mounts ~/.claude/.credentials.json and ~/.codex/auth.json so token refreshes reach the host. A Claude login kept only in the macOS keychain is extracted, mounted read-only and copied into the container instead, so a refresh during a run stays there and can force a new login on the host. The README said refreshes always persist. Document the exception and the claude setup-token plus -E CLAUDE_CODE_OAUTH_TOKEN workaround, including that the wrapper still needs a regular host login. Related to #411
Deploying ralphex with
|
| Latest commit: |
eb90203
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://927183b4.ralphex.pages.dev |
| Branch Preview URL: | https://docker-keychain-refresh-docs.ralphex.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
the Docker wrapper bind-mounts
~/.claude/.credentials.jsonand~/.codex/auth.jsonso token refreshes reach the host (#412). A Claude login kept only in the macOS keychain takes a different path: the wrapper extracts it, mounts it read-only and copies it into the container, so a refresh during a long run stays there and can force a new login on the host. The README said refreshes always persist.claude setup-token+-E CLAUDE_CODE_OAUTH_TOKENworkaround from the issue thread, and the fact that the wrapper still needs a regular host loginkeychain write-back itself is not part of this, so #411 stays open for it.
Related to #411