Auth & Session Management

•
2
•

Implements enterprise-grade authentication, role-based access control, and secure session management patterns across modern web stacks.

The Auth & Session Management skill provides architecture patterns and implementation guidance for securing web applications with modern identity systems. It covers leading authentication solutions such as NextAuth/Auth.js v5, Clerk, and Supabase Auth, alongside standardized OAuth2/OIDC flows, JWT refresh token rotation, and passwordless authentication using Passkeys and WebAuthn. This skill is invaluable for developers architecting secure role-based access control (RBAC), preventing token-based vulnerabilities, and streamlining user onboarding in enterprise and full-stack SaaS environments.

主な機能

01NextAuth / Auth.js v5 configuration and callback customization
02Implementation patterns for Passkeys and WebAuthn passwordless flows
03Support for modern auth providers like Clerk, Supabase Auth, and OAuth2/OIDC
04JWT refresh token rotation and secure session strategies
05Role-based access control (RBAC) and permission management
062 GitHub stars

ユースケース

01Setting up social and OAuth2 sign-in flows with Auth.js v5 in Next.js applications
02Configuring secure JWT sessions with automated token refresh and RBAC claims
03Migrating from legacy password-based authentication to modern Passkeys and WebAuthn