oauth

Community

Secure Fastify apps with OAuth 2.0/2.1

AuthorAkallabet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the complex process of implementing robust OAuth 2.0 and 2.1 authorization flows within Fastify applications, ensuring secure and compliant authentication.

Core Features & Use Cases

  • Authorization Code Flow with PKCE: Securely handles user logins for public clients.
  • Token Management: Manages access and refresh tokens, including rotation for enhanced security.
  • JWT Validation: Validates JWTs against standard claims and custom requirements.
  • Route Protection: Provides middleware to secure API endpoints based on token validity.
  • Use Case: You are building a new API using Fastify and need to implement a standard login flow where users can authenticate via an external OAuth provider like Google or Auth0, ensuring their sessions are secure and their access is properly authorized.

Quick Start

Use the oauth skill to implement the Authorization Code + PKCE flow in your Fastify application by installing dependencies and registering the plugin.

Dependency Matrix

Required Modules

@fastify/oauth2@fastify/cookie@fastify/sessionfastify-plugin@fastify/jwt

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: oauth
Download link: https://github.com/Akallabet/akallabeth-cc-marketplace/archive/main.zip#oauth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.