gainforest-oauth-setup

Official

Set up ATProto OAuth in Next.js apps

AuthorGainForest
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a complete blueprint to integrate ATProto OAuth in a Next.js App Router application using gainforest-sdk-nextjs, covering login, logout, session management, and PDS integration.

Core Features & Use Cases

  • End-to-end OAuth flow with server routes: authorize, callback, session, and logout.
  • Supabase-backed storage for OAuth sessions and temporary states, plus public JWKS and client-metadata endpoints.
  • Local development loopback support and production-ready configuration guidelines for climateai.org and gainforest.id PDS.

Quick Start

Install the required packages and follow the integration steps in the guide to enable ATProto OAuth in your Next.js project.

Dependency Matrix

Required Modules

jose

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: gainforest-oauth-setup
Download link: https://github.com/GainForest/agent-skills/archive/main.zip#gainforest-oauth-setup

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.