Back to skills

auth0-fastify-api

security

Secures Fastify API endpoints with JWT Bearer token validation through Auth0. It registers as a Fastify plugin and provides route-level middleware for verifying access tokens and checking scopes or pe

Setup & Installation

npx skills add https://github.com/auth0/auth0-fastify-api --skill auth0-fastify-api
or paste the link and ask your coding assistant to install it
https://github.com/auth0/auth0-fastify-api
View on GitHub

What This Skill Does

Secures Fastify API endpoints with JWT Bearer token validation through Auth0. It registers as a Fastify plugin and provides route-level middleware for verifying access tokens and checking scopes or permissions on REST APIs. It handles JWKS fetching, token verification, and scope checks out of the box, so you don't have to manually decode JWTs or manage signing key rotation yourself.

When to use it

  • Working with auth0 fastify api functionality
  • Implementing auth0 fastify api features
  • Debugging auth0 fastify api related issues