OAuth login via CloudCLI web UI fails silently -- Claude Code auth loop never completes
Image Variant
Full (latest / dev)
Image Tag / Version
latest
Host OS
Linux
What happened?
After fresh container start (docker run with recommended caps, shm, seccomp settings on Ubuntu 24.04 amd64), creating a CloudCLI account and signing in works fine. However, when sending any message through the web UI, Claude Code triggers an OAuth flow that attempts to open https://claude.com/cai/oauth/authorize in Chromium inside the container. This never completes, the process spawns Chromium headlessly but there's no way for the user to interact with the OAuth consent screen. The web UI shows 0% progress indefinitely with no error message. Existing valid credentials in /home/claude/.claude/.credentials.json (confirmed Max 20x tier, valid tokens) are ignored -- claude auth status returns loggedIn: false. Running claude -p "test" directly inside the container also fails with "Not logged in." The OAuth flow appears to be re-triggered on every container recreation even when credential files are bind-mounted and preserved. Expected: CloudCLI should either reuse existing valid credentials from the bind mount, or surface the OAuth URL to the user in the web UI so they can complete it in their own browser. Image: coderluii/holyclaude:latest pulled 2026-03-31.
What did you expect?
To use the webui
Steps to reproduce
Docker Compose / Run command
Logs / Error output
I had the same issue in my LXC docker container. I solve the issue using a ubuntu LXC with docker installed.
Thanks for the writeup. This one was real.
Right now the web layer is CloudCLI. Claude auth gets kicked off from there, and when that flow goes sideways inside the container, the UI used to sit at 0% like everything was fine. It was not.
I dug through HolyClaude’s side of it. The Claude session files get persisted. The CloudCLI account state does not. On top of that, the current flow did a bad job reusing existing Claude credentials and an even worse job telling you what failed.
This is fixed in v1.1.9.
What changed:
First, Claude auth status now gets refreshed after the login flow instead of trusting the terminal exit alone.
Second, broken Claude auth now surfaces a clearer failure state instead of leaving stale or silent UI state behind.
Short version: you should not have to send a prompt, wait, and guess anymore.
If you still hit the same behavior on v1.1.9, reply here and I’ll reopen it.
Closing as fixed in v1.1.9.