auth0-flask

Auth0 Agent Skills

Installation
CLI
npx skills add https://github.com/auth0/agent-skills --skill auth0-flask

Install this skill with the CLI and start using the SKILL.md workflow in your workspace.

Last updated 4/23/2026

Auth0 Agent Skills

Auth0 Agent Skills

License

šŸ“š Documentation • šŸš€ Getting Started • šŸ’¬ Feedback

AI agent skills for Auth0 authentication integration. These skills help AI coding assistants (Claude Code, Cursor, Copilot) implement Auth0 correctly across any framework.

What are Agent Skills?

Agent Skills are structured instructions that help AI agents implement features correctly. Each skill contains best practices, code patterns, and step-by-step guidance for Auth0 integration.

Learn more at agentskills.io and skills.sh

Quick Start

Get Auth0 up running in your app in minutes:

Prerequisites

  • An Auth0 account (sign up free)
  • An AI coding assistant (Claude Code, Cursor, or GitHub Copilot)

Steps

  1. Install the Auth0 skills (choose one method):
    Option 1: Via Skills CLI (fastest)

    npx skills add auth0/agent-skills
    

    Option 2: Via Claude Code marketplace

    # Open Claude Code
    claude
    
    # Add the Auth0 marketplace
    /plugin marketplace add auth0/agent-skills
    
    # Install the plugin
    /plugin install auth0@auth0-agent-skills
    
  2. Ask your AI assistant to add Auth0:

     "Add authentication to my React app"
     "Implement login with Auth0"
     "Add MFA to my application"
    

That's it! Your AI assistant will setup Auth0 on your app and you will have production-ready authentication powered by Auth0.

Installation

Step 1: Open Claude Code

claude

Step 2: Add the Auth0 Marketplace

Add the Auth0 agent skills marketplace to Claude Code:

# From GitHub
/plugin marketplace add auth0/agent-skills

# Or from local path
/plugin marketplace add /path/to/agent-skills

Step 3: Install the Plugin

All Auth0 skills are included in a single plugin:

  • auth0-quickstart - Framework detection and routing
  • auth0-migration - Migrate from other auth providers
  • auth0-mfa - Multi-Factor Authentication
  • auth0-react - React SPAs
  • auth0-nextjs - Next.js (App Router & Pages Router)
  • auth0-nuxt - Nuxt 3/4 applications
  • auth0-vue - Vue.js 3
  • auth0-angular - Angular 12+
  • auth0-express - Express.js
  • auth0-flask - Flask web applications
  • auth0-fastify - Fastify web applications
  • auth0-fastify-api - Fastify API authentication
  • auth0-fastapi-api - FastAPI API authentication
  • auth0-java-mvc-common - Java Servlet web applications (mvc-auth-commons)
  • auth0-springboot-api - Spring Boot API authentication
  • auth0-aspnetcore-api - ASP.NET Core API authentication
  • express-oauth2-jwt-bearer - Node.js/Express API JWT Bearer validation
  • auth0-spa-js - Vanilla JS SPAs (auth0-spa-js)
  • auth0-react-native - React Native CLI (bare workflow)
  • auth0-expo - Expo (managed workflow)
  • auth0-android - Android
  • auth0-swift - Native iOS/macOS applications (Swift)
/plugin install auth0@auth0-agent-skills

Install all skills using the Skills CLI:

# Install all skills
npx skills add auth0/agent-skills

# Install individual skills
npx skills add auth0/agent-skills/plugins/auth0/skills/auth0-quickstart
npx skills add auth0/agent-skills/plugins/auth0/skills/auth0-react

Option 3: Manual Installation

Clone the repository and copy skills to your Claude configuration:

# Clone the repository
git clone https://github.com/auth0/agent-skills.git

# Copy all skills
cp -r agent-skills/plugins/auth0/skills/* ~/.claude/skills/

# Or copy to your project's Claude skills directory
cp -r agent-skills/plugins/auth0/skills/* .claude/skills/

Available Skills

Core Skills

Skill Description Version
auth0-quickstart Framework detector and router v1.0.0
auth0-migration Migrate from other auth providers v1.0.0
auth0-mfa Multi-Factor Authentication v1.0.0

Frontend Framework Skills

Skill Description Version
auth0-react React SPAs (Vite, CRA) v1.0.0
auth0-vue Vue.js 3 applications v1.0.0
auth0-angular Angular 12+ applications v1.0.0
auth0-spa-js Vanilla JS SPAs (auth0-spa-js) v1.0.0

Backend Framework Skills

Skill Description Version
auth0-nextjs Next.js App Router & Pages Router v1.0.0
auth0-nuxt Nuxt 3/4 applications v1.0.0
auth0-express Express.js web applications v1.0.0
auth0-flask Flask web applications v1.0.0
auth0-fastify Fastify web applications v1.0.0
auth0-fastify-api Fastify API authentication v1.0.0
auth0-fastapi-api FastAPI API authentication v1.0.0
auth0-springboot-api Spring Boot API authentication v1.0.0
auth0-java-mvc-common Java Servlet web applications v1.0.0
auth0-aspnetcore-api ASP.NET Core API authentication v1.0.0
express-oauth2-jwt-bearer Express API JWT Bearer validation v1.0.0

Mobile Skills

Skill Description Version
auth0-react-native React Native CLI (bare workflow) v1.0.0
auth0-expo Expo (managed workflow) v1.0.0
auth0-android Android v1.0.0
auth0-swift Native iOS/macOS (Swift) v1.0.0

auth0-quickstart

The quickstart skill is now a lightweight router that:

  • Detects your framework automatically
  • Guides you to the right framework-specific skill
  • Sets up Auth0 CLI and creates applications
  • Provides CLI quick reference and troubleshooting

Framework-Specific Skills

Each framework has its own dedicated skill with:

  • Framework-specific installation and setup
  • Idiomatic code patterns and best practices
  • Protected routes and authentication flows
  • API integration examples
  • Common issues and troubleshooting
  • Security considerations

auth0-migration

The migration skill covers:

  • User export from existing providers (Firebase, Cognito, etc.)
  • Bulk import to Auth0
  • Code migration patterns (before/after examples)
  • JWT validation updates
  • Gradual migration strategies

auth0-mfa

The MFA skill covers:

  • Step-up authentication with acr_values
  • amr claim validation
  • Adaptive/risk-based MFA
  • MFA enrollment flows
  • Multiple factors (TOTP, SMS, Email, Push, WebAuthn)

Supported Frameworks

Frontend SPAs Backend/Web Apps Mobile APIs
React Next.js React Native Express.js
Vue.js SvelteKit Expo Fastify
Angular Nuxt.js Android (Kotlin) FastAPI
Remix iOS (Swift) Django REST
Fastify Go
Flask Spring Boot
Ruby on Rails ASP.NET Core
PHP/Laravel

Coming Soon

Skill Description
auth0-passkeys Passkeys and WebAuthn implementation
auth0-organizations Multi-tenancy and B2B organizations
auth0-dpop DPoP token binding
auth0-token-exchange Custom Token Exchange (RFC 8693)
auth0-enterprise PAR, CIBA, RAR, and enterprise features

Migration Support

The quickstart skill includes comprehensive migration guidance for moving from other auth providers:

  • User export/import - Bulk user migration with password hash support
  • Code patterns - Before/after examples for common auth patterns
  • Gradual migration - Phased approach for production apps
  • JWT validation - Update APIs to validate Auth0 tokens

SDK Coverage

Platform SDK Skill
React @auth0/auth0-react auth0-react, auth0-mfa
Vue.js @auth0/auth0-vue auth0-vue, auth0-mfa
Angular @auth0/auth0-angular auth0-angular, auth0-mfa
Next.js @auth0/nextjs-auth0 auth0-nextjs, auth0-mfa
Nuxt.js @auth0/auth0-nuxt auth0-nuxt
Express express-openid-connect auth0-express, auth0-mfa
Flask auth0-server-python auth0-flask
Fastify @auth0/auth0-fastify auth0-fastify, auth0-mfa
Fastify API @auth0/auth0-fastify-api auth0-fastify-api
FastAPI auth0-fastapi-api auth0-fastapi-api
React Native react-native-auth0 auth0-react-native
Expo react-native-auth0 auth0-expo
Android Auth0.Android auth0-android
iOS/macOS Auth0.swift auth0-swift
Spring Boot auth0-springboot-api auth0-springboot-api
Java Servlet mvc-auth-commons auth0-java-mvc-common
ASP.NET Core Auth0.AspNetCore.Authentication.Api auth0-aspnetcore-api
Express API express-oauth2-jwt-bearer express-oauth2-jwt-bearer

Project Structure

auth0/agent-skills/
ā”œā”€ā”€ .claude-plugin/
│   └── marketplace.json          # Marketplace metadata
ā”œā”€ā”€ plugins/
│   └── auth0/                    # Single unified plugin
│       ā”œā”€ā”€ .claude-plugin/
│       │   └── plugin.json       # Plugin configuration
│       └── skills/
│           ā”œā”€ā”€ auth0-quickstart/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ cli.md
│           │       ā”œā”€ā”€ concepts.md
│           │       └── environments.md
│           ā”œā”€ā”€ auth0-migration/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ code-patterns.md
│           │       └── user-import.md
│           ā”œā”€ā”€ auth0-mfa/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ advanced.md
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ backend.md
│           │       └── examples.md
│           ā”œā”€ā”€ auth0-react/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-nextjs/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-vue/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-angular/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-spa-js/
│           │   ā”œā”€ā”€ SKILL.md
│           │   ā”œā”€ā”€ references/
│           │   │   ā”œā”€ā”€ api.md
│           │   │   ā”œā”€ā”€ integration.md
│           │   │   └── setup.md
│           │   └── scripts/
│           ā”œā”€ā”€ auth0-nuxt/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ examples.md
│           │       ā”œā”€ā”€ route-protection.md
│           │       └── session-stores.md
│           ā”œā”€ā”€ auth0-express/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-flask/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-fastify/
│           │   └── SKILL.md
│           ā”œā”€ā”€ auth0-fastify-api/
│           │   └── SKILL.md
│           ā”œā”€ā”€ auth0-fastapi-api/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-java-mvc-common/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-react-native/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ patterns.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-android/
│           │   ā”œā”€ā”€ SKILL.md
│           │   ā”œā”€ā”€ references/
│           │   │   ā”œā”€ā”€ api.md
│           │   │   ā”œā”€ā”€ integration.md
│           │   │   └── setup.md
│           │   ā”œā”€ā”€ scripts/
│           │   └── tests/
│           ā”œā”€ā”€ auth0-expo/
│           │   ā”œā”€ā”€ SKILL.md
│           │   ā”œā”€ā”€ references/
│           │   │   ā”œā”€ā”€ api.md
│           │   │   ā”œā”€ā”€ integration.md
│           │   │   └── setup.md
│           │   ā”œā”€ā”€ scripts/
│           │   └── tests/
│           ā”œā”€ā”€ auth0-swift/
│           │   ā”œā”€ā”€ SKILL.md
│           │   ā”œā”€ā”€ references/
│           │   │   ā”œā”€ā”€ api.md
│           │   │   ā”œā”€ā”€ integration.md
│           │   │   └── setup.md
│           │   ā”œā”€ā”€ scripts/
│           │   └── tests/
│           ā”œā”€ā”€ auth0-springboot-api/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           ā”œā”€ā”€ auth0-aspnetcore-api/
│           │   ā”œā”€ā”€ SKILL.md
│           │   └── references/
│           │       ā”œā”€ā”€ api.md
│           │       ā”œā”€ā”€ integration.md
│           │       └── setup.md
│           └── express-oauth2-jwt-bearer/
│               ā”œā”€ā”€ SKILL.md
│               ā”œā”€ā”€ references/
│               │   ā”œā”€ā”€ api.md
│               │   ā”œā”€ā”€ integration.md
│               │   └── setup.md
│               ā”œā”€ā”€ scripts/
│               └── tests/
ā”œā”€ā”€ .gitignore
ā”œā”€ā”€ CODE_OF_CONDUCT.md
ā”œā”€ā”€ CONTRIBUTING.md
ā”œā”€ā”€ LICENSE
ā”œā”€ā”€ PLUGIN.md
└── README.md

Feedback

Contributing

We appreciate feedback and contributions! Before you get started, please see:

Raise an Issue

To provide feedback or report a bug, please raise an issue.

Vulnerability Reporting

Please do not report security vulnerabilities on the public GitHub issue tracker. See the Responsible Disclosure Program for details.


Auth0 Logo

Auth0 is an easy to implement, adaptable authentication and authorization platform.
To learn more checkout Why Auth0?

This project is licensed under the Apache 2.0 license. See the LICENSE file for more info.