BabelizeBabelize
CLI

Authentication

Log in to and out of the Babelize CLI, manage active sessions, and add or remove GitHub provider tokens, with the commands and flags for each.

Commands

babelize auth login

Log in to your Babelize account. Interactive if no flags provided.

babelize auth login
babelize auth login --email you@example.com --password secret

CI tip: prefer BABELIZE_TOKEN for pipelines (see CI/CD) — no session to store on the runner.

babelize auth signup

Create a new Babelize account.

babelize auth signup
babelize auth signup --email new@example.com --password mypassword123

babelize auth logout

Log out and revoke your current session.

babelize auth logout

babelize auth whoami

Show the currently authenticated user.

babelize auth whoami
babelize auth whoami --json   # Machine-readable

babelize auth reset-password

Send a password reset email.

babelize auth reset-password --email you@example.com

Token refresh

There is no auth refresh command — access tokens are refreshed automatically from the stored refresh token whenever a request returns 401. Re-run babelize auth login only if the refresh token itself has expired.

Provider Tokens (GitHub)

Manage OAuth tokens for connected providers (e.g. GitHub).

babelize auth provider-tokens list
babelize auth provider-tokens validate
babelize auth provider-tokens get github
babelize auth provider-tokens delete github

Sessions

Active sessions are managed via the account command group:

babelize account sessions              # List sessions (header shows the active count)
babelize account revoke-session <id>   # Force-logout a session

Last updated: 2026-10-16

How is this guide?

On this page