/login. After signing in, a signed session cookie (claudeye_session) grants access for 24 hours. A Sign out button appears in the navbar.
Enable via CLI flag
Enable via environment variable
Provide a comma-separated list ofuser:password pairs:
Enable via the programmatic API
app.auth() is chainable:
Combining sources
Users from CLI flags, the environment variable, andapp.auth() are merged. You can configure different users in each source and they all become valid:
ops, admin, dev) would be valid.
How session cookies work
- Login sets a signed HMAC-SHA256 cookie (
claudeye_session) with 24-hour expiry - All UI routes check the cookie and redirect to
/loginif it’s absent or invalid - If no users are configured, auth is completely disabled - no login page, no blocking

