Loading...
Loading...
Use when starting Auth0 integration in any framework - detects your stack (React, Next.js, Vue, Angular, Express, React Native) and routes to correct SDK setup workflow
npx skill4agent add auth0/agent-skills auth0-quickstart# Check package.json dependencies
cat package.json | grep -E "react|next|vue|angular|express|@nestjs"
# Or check project files
ls -la | grep -E "angular.json|vue.config.js|next.config"| Framework | Detection | Skill to Use |
|---|---|---|
| React (Vite/CRA) | | |
| Next.js | | |
| Vue.js | | |
| Angular | | |
| Express.js | | |
| React Native | | |
brew install auth0/auth0-cli/auth0scoop install auth0
# Or: choco install auth0-cliauth0 loginauth0 apps create --name "My App" --type spa \
--callbacks "http://localhost:3000" \
--logout-urls "http://localhost:3000"auth0 apps create --name "My App" --type regular \
--callbacks "http://localhost:3000/api/auth/callback" \
--logout-urls "http://localhost:3000"auth0 apps create --name "My App" --type native \
--callbacks "myapp://callback" \
--logout-urls "myapp://logout"auth0 apps list # Find your app
auth0 apps show <app-id> # Get client ID and secretauth0-reactauth0-nextjsauth0-vueauth0-angularauth0-expressauth0-react-nativeauth0-migration| 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-migrationauth0-reactauth0-nextjsauth0-vueauth0-angularauth0-expressauth0-react-nativeauth0-mfaauth0-organizationsauth0-passkeysauth0-flowsauth0-enterprise