·auth0-react
</>

auth0-react

auth0/agent-skills

Use when adding authentication to React applications (login, logout, user sessions, protected routes) - integrates @auth0/auth0-react SDK for SPAs with Vite or Create React App

50Installs·4Trend·@auth0

Installation

$npx skills add https://github.com/auth0/agent-skills --skill auth0-react

SKILL.md

Add authentication to React single-page applications using @auth0/auth0-react.

For automated setup with Auth0 CLI, see Setup Guide for complete scripts.

| Forgot to add redirect URI in Auth0 Dashboard | Add your application URL (e.g., http://localhost:3000, https://app.example.com) to Allowed Callback URLs in Auth0 Dashboard | | Using wrong env var prefix | Vite uses VITE prefix, Create React App uses REACTAPP | | Not handling loading state | Always check isLoading before rendering auth-dependent UI |

Use when adding authentication to React applications (login, logout, user sessions, protected routes) - integrates @auth0/auth0-react SDK for SPAs with Vite or Create React App Source: auth0/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/auth0/agent-skills --skill auth0-react
Category
</>Dev Tools
Verified
First Seen
2026-02-17
Updated
2026-02-18

Quick answers

What is auth0-react?

Use when adding authentication to React applications (login, logout, user sessions, protected routes) - integrates @auth0/auth0-react SDK for SPAs with Vite or Create React App Source: auth0/agent-skills.

How do I install auth0-react?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/auth0/agent-skills --skill auth0-react Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/auth0/agent-skills