Detect your framework and get started with Auth0 authentication.
Run this command to identify your framework:
bash
# Check package.json dependencies (Node.js projects)
cat package.json | grep -E "react|next|vue|nuxt|angular|express|fastify|@nestjs|expo"
# Or check project files
ls -la | grep -E "angular.json|vue.config.js|next.config|app.json|Package.swift|build.gradle"
Framework Detection Table:
FrameworkDetectionSkill to UseReact (Vite/CRA)"react" in package.json, no Next.jsauth0-reactNext.js"next" in package.jsonauth0-nextjsVue.js"vue" in package.json, no Nuxtauth0-vueNuxt"nuxt" in package.jsonauth0-nuxtAngularangular.json exists or "@angular/core"``auth0-angularExpress.js"express" in package.jsonauth0-expressFastify (web app)"fastify" in package.json, has @fastify/view``auth0-fastifyFastify (API)"fastify" in package.json, no view engineauth0-fastify-apiReact Native"react-native" or "expo" in package.jsonauth0-react-nativeFlask"flask" in requirements.txt, Pipfile, or pyproject.tomlauth0-flaskNode.js API"express-oauth2-jwt-bearer" in package.jsonexpress-oauth2-jwt-bearer
Don't see your framework? See Tier 2 Frameworks below.
macOS/Linux:
bash
brew install auth0/auth0-cli/auth0
Windows:
bash
scoop install auth0
# Or: choco install auth0-cli
Full installation guide: See CLI Reference
bash
auth0 login
This opens your browser to authenticate with Auth0.
Choose application type based on your framework:
Single Page Applications (React, Vue, Angular):
bash
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):
bash
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):
bash
auth0 apps create --name "My App" --type native \
--callbacks "myapp://callback" \
--logout-urls "myapp://logout" \
--metadata "created_by=agent_skills"
Get your credentials:
bash
auth0 apps list # Find your app
auth0 apps show <app-id> # Get client ID and secret
More 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-flask - Flask web applicationsauth0-fastify - Fastify web applicationsauth0-fastify-api - Fastify API authenticationexpress-oauth2-jwt-bearer - Node.js/Express API JWT Bearer validationMobile:
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:
MistakeFixWrong application typeSPAs need "Single Page Application", server apps need "Regular Web Application", mobile needs "Native"Callback URL not configuredAdd your app's callback URL to Allowed Callback URLs in Auth0 DashboardUsing wrong credentialsClient Secret only needed for Regular Web Apps, not SPAsHardcoding credentials in codeAlways use environment variables, never commit secrets to gitNot testing locally firstSet up localhost URLs in Auth0 before deploying to productionMixing application typesDon't use SPA SDK for server-side apps or vice versa
auth0-migration - Migrate from other auth providersauth0-spa-js - SPA integrationauth0-react - React SPA integrationauth0-nextjs - Next.js integrationauth0-vue - Vue.js integrationauth0-nuxt - Nuxt 3/4 integrationauth0-angular - Angular integrationauth0-express - Express.js integrationauth0-flask - Flask web app integrationauth0-fastify - Fastify web app integrationauth0-fastify-api - Fastify API integrationexpress-oauth2-jwt-bearer - Node.js/Express API JWT Bearer validationauth0-react-native - React Native CLI (bare workflow) integrationauth0-expo - Expo (managed workflow) integrationauth0-android - Android (Kotlin/Java) integrationauth0-swift - iOS/macOS (Swift) integrationauth0-fastapi-api - FastAPI API authenticationauth0-aspnetcore-api - ASP.NET Core API authenticationauth0-mfa - Multi-Factor Authentication