Acerca de
This skill provides comprehensive guidance for architecting secure Next.js applications, offering production-ready patterns for Auth.js (NextAuth.js v5), middleware-based route protection, and session management. It helps developers navigate complex authentication logic, including JSON Web Tokens (JWT), database-backed sessions, role-based access control (RBAC), and custom login flows, ensuring best practices for security and performance are maintained throughout the development lifecycle.