skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

auth0-fastify-api

Secure Fastify API endpoints with JWT Bearer token validation.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/auth0/agent-skills --skill auth0-fastify-api

Overview

What This Skill Does

Protect Fastify API endpoints with JWT access token validation using @auth0/auth0-fastify-api.

Application

When to use this Skill

Documentation

Show Skills.md file

Auth0 Fastify API Integration

Protect Fastify API endpoints with JWT access token validation using @auth0/auth0-fastify-api.


Prerequisites

  • Fastify API application (v5.x or newer)
  • Node.js 20 LTS or newer
  • Auth0 API configured (not Application - must be API resource)
  • If you don't have Auth0 set up yet, use the auth0-quickstart skill first

When NOT to Use

  • Server-rendered web applications - Use @auth0/auth0-fastify for session-based auth
  • Single Page Applications - Use auth0-react, auth0-vue, or auth0-angular for client-side auth
  • Next.js applications - Use auth0-nextjs skill
  • Mobile applications - Use auth0-react-native for React Native/Expo

Quick Start Workflow

1. Install SDK

Lines 1 - 25 of 169

Recommendations

Explore other random skills

All skillsMy patterns