AUTH.JS logo

auth.js

Social login, magic links, and multi-factor authentication flows.

$ npx docs2skills add auth-js
SKILL.md

Implement authentication with Auth.js (NextAuth) — OAuth providers, credentials, magic links, session strategies, and database adapters.

When to Use This Skill

Use when implementing auth with Auth.js/NextAuth in any framework.

  • OAuth provider setup (Google, GitHub, Discord, etc.)
  • Credentials-based authentication
  • Magic link / email sign-in
  • JWT vs database session strategies
  • Custom pages and callbacks
  • Database adapter configuration