
Auth0 React
Handles Auth0 authentication in React SPAs using the official SDK with redirect-based Universal Login flows. Works with Vite and Create React App across React 16-19. The skill walks you through wrapping your app in Auth0Provider, wiring up login/logout buttons with the useAuth0 hook, and protecting routes. It includes automated setup scripts and covers MFA workflows with the mfa API client for enrollment and challenge flows. Watch out for environment variable prefixes, they're different between Vite and CRA. If you're using Next.js or React Native, there are separate skills for those. The common mistakes table is actually useful, especially the warnings about manual token storage and MFA error handling.
- skills.sh installs
- 1.5K
- GitHub stars
- 56
- last updated
- Aug 21, 2026
Install
$ npx -y skills add auth0/agent-skills --skill auth0-react --agent claude-codeInstalls into .claude/skills of the current project.
Files
Handles Auth0 authentication in React SPAs using the official SDK with redirect-based Universal Login flows. Works with Vite and Create React App across React 16-19. The skill walks you through wrapping your app in Auth0Provider, wiring up login/logout buttons with the useAuth0 hook, and protecting routes. It includes automated setup scripts and covers MFA workflows with the mfa API client for enrollment and challenge flows. Watch out for environment variable prefixes, they're different between Vite and CRA. If you're using Next.js or React Native, there are separate skills for those. The common mistakes table is actually useful, especially the warnings about manual token storage and MFA error handling.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/auth0/agent-skills
- Categories
- Frontend Development, Code Review & Quality, AI & Agent Building
- First seen
- Apr 16, 2026
More from auth0/agent-skills
All 23- Auth0 React Native963
- Auth0 Express816
- Auth0 Mfa811
- Auth0 Angular762
- Auth0 Vue727
- Auth0 Migration687
- Auth0 Nuxt594
- Auth0 Fastify Api562
- Auth0 Expo555
- Auth0 Fastify555
- Auth0 Aspnetcore Api490
- Auth0 Android482
- Auth0 Swift477
- Express Oauth2 Jwt Bearer469
- Auth0 Fastapi Api461
- Auth0 Spa Js434
- Auth0 Flask411
- Acul Screen Generator393
- Auth0 Java Mvc Common388
- Auth0 Springboot Api387
- Auth0 Quickstart2.7K
- Auth0 Nextjs1.6K