Use when adding authentication or login to any app - detects your stack (React, Next.js, Vue, Nuxt, Angular, Express, Fastify, React Native), sets up an Auth0 account if needed, and routes to the correct SDK setup workflow.
95
93%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Detect your framework and get started with Auth0 authentication.
Run this command to identify your framework:
# Check package.json dependencies
cat package.json | grep -E "react|next|vue|nuxt|angular|express|fastify|@nestjs"
# Or check project files
ls -la | grep -E "angular.json|vue.config.js|next.config"Framework Detection Table:
| Framework | Detection | Skill to Use |
|---|---|---|
| React (Vite/CRA) | "react" in package.json, no Next.js | auth0-react |
| Next.js | "next" in package.json | auth0-nextjs |
| Vue.js | "vue" in package.json, no Nuxt | auth0-vue |
| Nuxt | "nuxt" in package.json | auth0-nuxt |
| Angular | angular.json exists or "@angular/core" | auth0-angular |
| Express.js | "express" in package.json | auth0-express |
| Fastify (web app) | "fastify" in package.json, has @fastify/view | auth0-fastify |
| Fastify (API) | "fastify" in package.json, no view engine | auth0-fastify-api |
| React Native | "react-native" or "expo" in package.json | auth0-react-native |
Don't see your framework? See Tier 2 Frameworks below.
macOS/Linux:
brew install auth0/auth0-cli/auth0Windows:
scoop install auth0
# Or: choco install auth0-cliFull installation guide: See CLI Reference
auth0 loginThis opens your browser to authenticate with Auth0.
Choose application type based on your framework:
Single Page Applications (React, Vue, Angular):
auth0 apps create --name "My App" --type spa \
--callbacks "http://localhost:3000" \
--logout-urls "http://localhost:3000" \
--metadata "created_by=agent_skills"Regular Web Apps (Next.js, Nuxt, Express, Fastify):
auth0 apps create --name "My App" --type regular \
--callbacks "http://localhost:3000/api/auth/callback" \
--logout-urls "http://localhost:3000" \
--metadata "created_by=agent_skills"Native Apps (React Native):
auth0 apps create --name "My App" --type native \
--callbacks "myapp://callback" \
--logout-urls "myapp://logout" \
--metadata "created_by=agent_skills"Get your credentials:
auth0 apps list # Find your app
auth0 apps show <app-id> # Get client ID and secretMore CLI commands: See CLI Reference
Based on your framework detection, use the appropriate skill:
Frontend:
auth0-react - React SPAs (Vite, Create React App)auth0-nextjs - Next.js (App Router and Pages Router)auth0-vue - Vue.js 3 applicationsauth0-nuxt - Nuxt 3/4 applicationsauth0-angular - Angular 12+ applicationsBackend:
auth0-express - Express.js web applicationsauth0-fastify - Fastify web applicationsauth0-fastify-api - Fastify API authenticationMobile:
auth0-react-native - React Native and Expo (iOS/Android)Not yet available as separate skills. Use Auth0 documentation:
Frontend:
Backend:
Mobile:
Migrating from another auth provider? Use the auth0-migration skill.
The migration skill covers:
Framework-specific environment variable setup:
Core concepts and troubleshooting:
Complete Auth0 CLI reference:
| Mistake | Fix |
|---|---|
| Wrong application type | SPAs need "Single Page Application", server apps need "Regular Web Application", mobile needs "Native" |
| Callback URL not configured | Add your app's callback URL to Allowed Callback URLs in Auth0 Dashboard |
| Using wrong credentials | Client Secret only needed for Regular Web Apps, not SPAs |
| Hardcoding credentials in code | Always use environment variables, never commit secrets to git |
| Not testing locally first | Set up localhost URLs in Auth0 before deploying to production |
| Mixing application types | Don't use SPA SDK for server-side apps or vice versa |
auth0-migration - Migrate from other auth providersauth0-react - React SPA integrationauth0-nextjs - Next.js integrationauth0-vue - Vue.js integrationauth0-nuxt - Nuxt 3/4 integrationauth0-angular - Angular integrationauth0-express - Express.js integrationauth0-fastify - Fastify web app integrationauth0-fastify-api - Fastify API integrationauth0-react-native - React Native/Expo integrationauth0-mfa - Multi-Factor Authenticationfbcbfb1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.