Back to Plugins

Auth0

Enterprise-grade auth, easy to implement. Add login, SSO, MFA, and access control to any app with framework-aware guidance.

security
By Auth0
4425Updated 3 days agoPythonApache-2.0

Installation

/plugin install auth0@claude-plugins-official

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions

Auth0 Agent Skills

Auth0 Agent Skills

License

AI agent skills that help coding assistants implement Auth0 authentication correctly. Works with Claude Code, Cursor, Codex, GitHub Copilot, and 40+ other agents that support the Agent Skills format.

Documentation · Getting Started · Feedback

Prerequisites

Install

Claude Code

Auth0 is on the official Claude Code plugins marketplace:

/plugin install auth0@claude-plugins-official

Or type /plugin in a session, go to Discover, and search "Auth0".

From the terminal (no session needed):

claude plugin install auth0@claude-plugins-official

Cursor

Auth0 is on the Cursor marketplace. Open the listing and click Add to install.

You can also install via Cursor Settings → Rules → Add Rule → Remote Rule (GitHub) and enter this repository URL.

npx skills add auth0/agent-skills --agent github-copilot

Codex / ChatGPT plugins

The repository includes an OpenAI-compatible skills-only plugin. Add this repository's marketplace from .agents/plugins/marketplace.json, then install Auth0 from the Plugins UI. It tracks the published main snapshot.

For public availability, Auth0 must submit the plugin through the OpenAI plugin submission portal. Approval is required before it appears in the universal ChatGPT and Codex directory.

Any Agent (Skills CLI)

The Skills CLI works with Claude Code, Cursor, Copilot, Codex, and 40+ other agents:

npx skills add auth0/agent-skills

Target specific agents with --agent:

npx skills add auth0/agent-skills --agent claude-code cursor

ClawHub Marketplace

Install the Auth0 skill from ClawHub.ai:

npx clawhub install auth0

Or browse and install from the ClawHub web UI — search for "auth0".

What happens after install

When you ask your AI assistant something like "add Auth0 login to my app," the assistant:

  1. Loads the single auth0 skill, whose router reads your project files (package.json, requirements.txt, build.gradle, etc.)
  2. Detects your framework and loads the matching reference files (e.g., the Next.js reference for a Next.js project)
  3. Follows the step-by-step instructions to install the right SDK, create auth routes, configure environment variables, and wire up login/logout

You don't pick anything manually — framework detection handles it.

Forcing the skill with /auth0

Auto-detection is reliable on capable models. If you're on a smaller/faster model in a session with many other skills installed, the assistant can occasionally miss the trigger — most often on open-ended questions ("how do I…?") rather than direct instructions. When that happens, invoke the skill explicitly:

/auth0 how do I configure brand colors in Auth0?

Naming the skill removes the selection step entirely, so it always activates.

Migrating from the individual skills

Earlier versions shipped one skill per SDK/framework (auth0-react, auth0-nextjs, express-oauth2-jwt-bearer, …). These are now consolidated into the single auth0 skill above, which routes to the same guidance by detecting your framework.

  • Plugin / marketplace installs (Claude Code, Cursor): nothing to do — your next update swaps in the consolidated skill automatically.
  • ClawHub installs: existing installs keep working; npx clawhub install auth0 gets you the consolidated skill.
  • If you referenced an old skill by name — in your CLAUDE.md, another skill's requires.skills, or any instruction file — those names (auth0-react, etc.) no longer exist and the reference will dangle. Replace them with auth0.

Coverage

A single auth0 skill covers web, mobile, desktop, and API authentication across all of the frameworks below. You install one skill; its router detects your framework and loads the matching guidance — you don't choose a per-framework skill.

AreaSDKFrameworks
Quickstart RouterDetects your framework and loads the right reference files
MigrationMigrate from Firebase, Cognito, Supabase, Clerk, or custom auth
MFATOTP, SMS, email, push, WebAuthn
ACUL Screen Generation@auth0/auth0-acul-reactCustom Universal Login screens and theming
React@auth0/auth0-reactReact SPAs (Vite, CRA)
Vue@auth0/auth0-vueVue 3
Angular@auth0/auth0-angularAngular 13+
Vanilla JS@auth0/auth0-spa-jsAny SPA (also Svelte, SolidJS)
Next.js@auth0/nextjs-auth0Next.js 13+ (App Router & Pages Router)
Nuxt@auth0/auth0-nuxtNuxt 3/4
Expressexpress-openid-connectExpress.js
Flaskauth0-server-pythonFlask
Fastify@auth0/auth0-fastifyFastify
Java Servletmvc-auth-commonsJava Servlet
Express APIexpress-oauth2-jwt-bearerNode.js/Express APIs
Fastify API@auth0/auth0-fastifyFastify APIs
FastAPIauth0-fastapi-apiPython FastAPI
Spring Boot APIauth0-springboot-apiSpring Boot
ASP.NET CoreAuth0.AspNetCore.AuthenticationASP.NET Core MVC, Razor Pages, Blazor Server
ASP.NET Core APIAuth0.AspNetCore.AuthenticationASP.NET Core
Ionic Angular@auth0/auth0-angular + CapacitorIonic Angular + Capacitor (iOS/Android)
Ionic Vue@auth0/auth0-vueIonic Vue + Capacitor (iOS/Android)
Ionic React@auth0/auth0-react + CapacitorIonic React + Capacitor (iOS/Android)
React Nativereact-native-auth0React Native CLI (bare workflow)
Exporeact-native-auth0Expo (managed workflow)
AndroidAuth0.AndroidAndroid (Kotlin/Java)
iOS/macOSAuth0.swiftSwift (iOS, macOS, tvOS, watchOS, visionOS)
Flutterauth0_flutterFlutter mobile (iOS/Android, Dart)
Flutter Webauth0_flutterFlutter Web (Dart)
.NET MAUIAuth0.OidcClient.MAUI.NET MAUI (iOS, Android, macOS, Windows)
.NET AndroidAuth0.OidcClient.AndroidX.NET Android (Xamarin)
.NET iOSAuth0.OidcClient.iOS.NET iOS (Xamarin)
.NET WinformsAuth0.OidcClient.WinForms.NET WinForms applications
WPFAuth0.OidcClient.WPF.NET WPF
iOS/macOS MigrationAuth0.swiftUpgrade to the latest major version of Auth0.swift

Example prompts

Add Auth0 authentication to my app
Set up Auth0 in my Next.js project with protected routes
Add multi-factor authentication with TOTP
Migrate from Firebase Auth to Auth0
Secure my Express API with Auth0 JWT validation

Feedback


<p align="center"> <picture> <source media="(prefers-color-scheme: light)" srcset="https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png" width="150"> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.auth0.com/website/sdks/logos/auth0_dark_mode.png" width="150"> <img alt="Auth0 Logo" src="https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png" width="150"> </picture> </p> <p align="center"> Auth0 is an easy to implement, adaptable authentication and authorization platform.<br> To learn more checkout <a href="https://auth0.com/why-auth0">Why Auth0?</a> </p> <p align="center"> This project is licensed under the Apache 2.0 license. See the <a href="./LICENSE">LICENSE</a> file for more info. </p>
View source on GitHub