Lightlines
Catalogue
Sign in
By mcollina

oauth

mcollina

Secure your Fastify app with robust OAuth flows.

API security

What it does

Implements and debugs secure OAuth authorization flows, token handling, and route protection in Fastify applications.

When to use it

Use it to implement or debug OAuth flows, validate tokens, protect routes, and resolve security or compliance problems.

How to use it

Give it OAuth implementation or debugging work in a Fastify project; it returns the corresponding project changes.

What you provide

  • An existing project

Access · 1

This skill

npm install @fastify/oauth2 @fastify/cookie @fastify/session fastify-plugin

Execute

Installs unpinned Fastify dependencies

What you need · 4

An authorization server must provide the configured authorization and token endpoints.

The JWT validation middleware imports @fastify/jwt.

The OAuth client identifier is read from the CLIENT_ID environment variable.

The OAuth client secret is read from the CLIENT_SECRET environment variable.


About this skill

Visibility
Public
Repository
mcollina/skills
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
2