Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Claude credentials not copied into the container #17

Description

@FelixSchwarz

When I start claude-sandbox, my claude pro credentials are available in the container:

$ tree -a ~/.claude
/home/.../.claude
├── .credentials.json
└── statsig
    ├── ...

I believe this is because the code only checks for an auth.json but not .credentials.json

private async findOAuthToken(): Promise<string | null> {
// Check common locations for Claude OAuth tokens
const possiblePaths = [
path.join(os.homedir(), ".claude", "auth.json"),
path.join(
os.homedir(),
"Library",
"Application Support",
"Claude",
"auth.json",
),
path.join(os.homedir(), ".config", "claude", "auth.json"),
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions