KosmoKrator

productivity

Auth0 CLI for CI

Use the Auth0 CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Bearer token auth

Auth0 CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Auth0 CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Auth0 CLI for CI
kosmokrator integrations:configure auth-zero --set access_token="$AUTH_ZERO_ACCESS_TOKEN" --set domain="$AUTH_ZERO_DOMAIN" --enable --read allow --write ask --json
kosmo integrations:call auth-zero.auth_zero_list_users '{"page":1,"per_page":1,"q":"example_q","sort":"example_sort"}' --json

Discovery Before Execution

Agents and scripts can inspect Auth0 docs and schemas before choosing a function.

kosmo integrations:docs auth-zero --json
kosmo integrations:docs auth-zero.auth_zero_list_users --json
kosmo integrations:schema auth-zero.auth_zero_list_users --json
kosmo integrations:search "Auth0" --json
kosmo integrations:list --json

Useful Auth0 CLI Functions

FunctionTypeParametersDescription
auth-zero.auth_zero_list_users Read page, per_page, q, sort List users in the Auth0 tenant. Supports search with Lucene syntax, pagination, and sorting.
auth-zero.auth_zero_get_user Read id Retrieve a single Auth0 user by their user ID (e.g. "auth0|abc123").
auth-zero.auth_zero_create_user Write email, password, connection, name Create a new user in Auth0. Requires email, password, and the connection name (database connection).
auth-zero.auth_zero_list_connections Read strategy List identity connections configured in the Auth0 tenant. Optionally filter by strategy (e.g. "auth0", "google-oauth2").
auth-zero.auth_zero_list_roles Read page, per_page List roles defined in the Auth0 tenant with optional pagination.
auth-zero.auth_zero_get_tenant_settings Read none Retrieve the Auth0 tenant settings (session lifetime, idle timeout, default directory, etc.).
auth-zero.auth_zero_get_current_user Read none Retrieve the profile of the currently authenticated user. Also serves as a health check for the Auth0 connection.

Automation Notes

Related Auth0 CLI Pages