Lightlines
By mcollina

oauth

mcollina1.3k installs

Secure your Fastify app with robust OAuth flows.

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

Latest review

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.


Access · 1

This skill

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

Execute

Installs unpinned Fastify dependencies