KosmoKrator

productivity

Auth0 CLI for Headless Automation

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

7 functions 6 read 1 write Bearer token auth

Auth0 CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. 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 Headless Automation
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