
Auth0 Quickstart
Provision and configure Auth0 tenants and applications (SPA, regular web) from the CLI so your app gets correct callbacks, origins, and client setup.
Overview
Auth0 Quickstart is an agent skill for the Build phase that documents installing and using the Auth0 CLI to create and configure SPA and regular web applications.
Install
npx skills add https://github.com/auth0/agent-skills --skill auth0-quickstartWhat is this skill?
- Install Auth0 CLI via Homebrew, Scoop, Chocolatey, or reviewed curl installer on macOS/Linux/Windows
- Login, tenant listing, and tenant selection commands for agent-driven setup
- SPA application create flow with callbacks, logout URLs, origins, and web origins for local dev
- Regular web application pattern for Next.js/Express-style server apps with API auth callback routes
- Metadata flags such as created_by=agent_skills for traceability of CLI-created apps
Adoption & trust: 2k installs on skills.sh; 26 GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need Auth0 login on a React or Next.js app but stall on CLI install, tenant login, and correct callback/origin URLs for local development.
Who is it for?
Indie builders standardizing on Auth0 who want CLI-first app provisioning for SPA or regular web stacks.
Skip if: Custom auth without Auth0, mobile-native-only flows without the documented app types, or orgs that forbid CLI tenant access.
When should I use this skill?
User needs Auth0 CLI installation, login, tenant management, or creating SPA/regular web Auth0 applications with callbacks and origins.
What do I get? / Deliverables
Your agent runs documented auth0 CLI commands to create properly typed applications with callbacks and origins aligned to your local or deployed URLs.
- Auth0 application records via CLI
- Documented callback, logout, and origin URL configuration
Recommended Skills
Journey fit
Identity provider wiring happens while integrating auth into the product during build, before launch hardening. Focus is Auth0 CLI setup and app creation—not generic frontend UI or SEO distribution.
How it compares
Auth0 CLI quickstart skill—not a replacement for Auth0’s dashboard docs or framework SDK integration code.
Common Questions / FAQ
Who is auth0-quickstart for?
Solo developers and small teams wiring Auth0 into SPAs or server-rendered web apps who want repeatable CLI setup.
When should I use auth0-quickstart?
During Build integrations when creating Auth0 applications, setting localhost callbacks, or onboarding a new tenant before you implement SDK routes and test login in Ship.
Is auth0-quickstart safe to install?
CLI commands modify tenant configuration; review the Security Audits panel on this page and confirm curl install scripts before execution as the skill itself recommends.
SKILL.md
READMESKILL.md - Auth0 Quickstart
# Auth0 CLI Reference Complete guide to installing, configuring, and using the Auth0 CLI. --- ## Installation ### macOS/Linux **Via Homebrew (recommended):** ```bash brew install auth0/auth0-cli/auth0 ``` **Via curl (review script before executing):** ```bash curl -sSfL https://raw.githubusercontent.com/auth0/auth0-cli/main/install.sh -o /tmp/auth0-install.sh # Review the script before running: cat /tmp/auth0-install.sh sh /tmp/auth0-install.sh rm /tmp/auth0-install.sh ``` ### Windows **Via Scoop:** ```bash scoop install auth0 ``` **Via Chocolatey:** ```bash choco install auth0-cli ``` ### Verify Installation ```bash auth0 --version which auth0 ``` --- ## Initial Setup ### Login to Auth0 ```bash auth0 login ``` This opens your browser to authenticate with Auth0. ### Check Current Tenant ```bash # List all tenants auth0 tenants list # Show current tenant auth0 tenants use ``` --- ## Creating Applications ### Single Page Application (SPA) For React, Vue, Angular applications: ```bash auth0 apps create \ --name "My React App" \ --type spa \ --callbacks "http://localhost:3000" \ --logout-urls "http://localhost:3000" \ --origins "http://localhost:3000" \ --web-origins "http://localhost:3000" \ --metadata "created_by=agent_skills" ``` ### Regular Web Application For Next.js, Express, server-rendered applications: ```bash auth0 apps create \ --name "My Next.js App" \ --type regular \ --callbacks "http://localhost:3000/api/auth/callback" \ --logout-urls "http://localhost:3000" \ --metadata "created_by=agent_skills" ``` ### Native Application For React Native, iOS, Android, mobile applications: ```bash auth0 apps create \ --name "My Mobile App" \ --type native \ --callbacks "myapp://callback" \ --logout-urls "myapp://logout" \ --metadata "created_by=agent_skills" ``` ### Machine-to-Machine (M2M) For backend APIs, cron jobs, server-to-server: ```bash auth0 apps create \ --name "My API Service" \ --type m2m \ --metadata "created_by=agent_skills" ``` --- ## Managing Applications ### List Applications ```bash # List all applications auth0 apps list ``` ### Show Application Details ```bash # Show app details (includes client ID and secret) auth0 apps show <app-id> ``` ### Update Application ```bash # Update callbacks auth0 apps update <app-id> \ --callbacks "http://localhost:3000,https://myapp.com" # Update logout URLs auth0 apps update <app-id> \ --logout-urls "http://localhost:3000,https://myapp.com" ``` ### Delete Application ```bash auth0 apps delete <app-id> ``` --- ## User Management ### List Users ```bash # List all users auth0 users list # List with search auth0 users search --query "email:*@example.com" ``` ### Create User ```bash auth0 users create \ --email "user@example.com" \ --password "SecurePassword123!" \ --connection "Username-Password-Authentication" ``` ### Show User Details ```bash auth0 users show <user-id> ``` ### Delete User ```bash auth0 users delete <user-id> ``` --- ## Testing & Debugging ### Test Login Flow ```bash # Test login with Universal Login auth0 test login <app-client-id> ``` ### Get Access Token ```bash # Get access token for testing APIs auth0 test token <app-client-id> ``` ### Live Log Streaming ```bash # Tail Auth0 logs in real-time auth0 logs tail # Filter by type auth0 logs tail --filter "type:f" # Failed logins auth0 logs tail --filter "type:s" # Successful logins ``` --- ## API Management ### List APIs ```bash auth0 apis list ``` ### Create API ```bash auth0 apis create \ --name "My API" \ --identifier "https://api.myapp.com" ``` ### Show API Details ```bash auth0 apis show <api-id> ``` --- ## Command Quick Reference ### Account & Tenant | Command | Purpose | |---------|---------| | `auth0 login` | Login to Auth0 | | `auth0 logout` | Logout from Auth0 | | `auth0 tenants list` | List your Auth0 tenants | | `auth0 tenants use <tenant>` | Switch to a different tenant |