backend-auth-js

Installation
SKILL.md

Auth.js (NextAuth.js v5)

Overview

Auth.js (NextAuth.js v5) is the standard authentication solution for Next.js. It handles OAuth, credentials, JWT/database sessions, and integrates natively with App Router.

Version: next-auth@5.0.0-beta (Auth.js v5)
Requirements: Next.js 14.0+

Key Benefit: Minimal config for OAuth providers, built-in CSRF protection, serverless-ready.

When to Use This Skill

Use Auth.js when:

  • Building Next.js App Router applications
  • Need OAuth providers (GitHub, Google, Discord, etc.)
  • Want database sessions with Prisma adapter
  • Building serverless/edge-compatible auth
  • Need quick setup with minimal boilerplate
Installs
6
GitHub Stars
11
First Seen
Feb 6, 2026
backend-auth-js — petbrains/mvp-builder