auth0-nextjs
by auth0
Add Auth0 authentication to Next.js apps with session management, protected routes, and middleware. Supports both App Router and Pages Router with automatic OAuth callback handling via /auth/login , /auth/logout , and /auth/callback endpoints Provides server-side session access through auth0.getSession() for Server Components and API routes, plus client-side useUser() hook for client components Requires middleware configuration ( middleware.ts for Next.js 15+, or proxy.ts for Next.js 16) to...
npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs