🤖Open Source
grok-auth
Grok CLI stores one OIDC session in ~/.grok/auth.json. grok-auth snapshots that file into named profiles and swaps them safely — so when one account hits its quota, you can rotate to the next without re-authenticating from scratch.
CLIGrokDeveloper ToolsOpen Source
Features
- ✦Named profiles — save, list, use, and remove Grok CLI auth snapshots
- ✦Round-robin rotation with `next` when quota is exhausted
- ✦Silent token refresh preserved — syncs live session back before switching
- ✦Add accounts via `grok logout` + `login` workflow
- ✦Machine-readable `--json` output for scripting
- ✦Profile files chmod 600 — treated like passwords
Links