nextjs-supabase-auth

Installation
Summary

Supabase Auth integration for Next.js App Router with middleware-based session management.

  • Handles server/client authentication boundaries using @supabase/ssr, protecting routes via middleware and managing cookie-based sessions
  • Provides patterns for OAuth callbacks, Server Actions for auth operations, and proper token handling across Server and Client Components
  • Includes anti-patterns to avoid: getSession in Server Components, unlistened client auth state, and manual token storage
SKILL.md

Next.js + Supabase Auth

Expert integration of Supabase Auth with Next.js App Router

Capabilities

  • nextjs-auth
  • supabase-auth-nextjs
  • auth-middleware
  • auth-callback

Prerequisites

  • Required skills: nextjs-app-router, supabase-backend

Patterns

Supabase Client Setup

Related skills
Installs
4.8K
GitHub Stars
37.3K
First Seen
Jan 19, 2026