Official Auth0 CLI for managing tenant resources, actions, logs, and login or token test flows from the terminal.
$brew tap auth0/auth0-cli && brew install auth0
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Auth0 CLI is the official command line client for configuring and testing Auth0 tenants. It covers core identity admin work such as applications, APIs, users, organizations, actions, branding, logs, and direct Management API calls.
What It Enables
- Create, update, list, and delete tenant resources such as applications, APIs, users, organizations, roles, custom domains, attack-protection settings, log streams, and event streams.
- Test Universal Login and token issuance, inspect branding or prompt settings, tail tenant logs, and troubleshoot identity flows without living in the dashboard.
- Script deeper admin work with
auth0 apirequests and export existing tenant resources into Terraform configuration withauth0 terraform generate.
Agent Fit
- Many list, show, create, update, and test commands expose
--jsonor--json-compact, andauth0 apialways returns JSON, so follow-up parsing is straightforward. - Automation fit is good once auth is configured: the CLI has
--no-input, supports machine login with client credentials or private-key JWT, and covers inspect-change-verify loops across tenant resources. - The surface is mixed rather than fully headless because some commands intentionally open a browser, dashboard page, or local editor for login, testing, or customization work.
Caveats
- Useful operation requires an Auth0 tenant plus valid credentials; user login uses device and browser flow, while unattended use depends on machine credentials and requested scopes.
auth0 universal-login customizemixes browser and editor workflows, and its advanced mode is marked deprecated in favor ofauth0 acul config.