About
This skill provides a comprehensive library of implementation patterns for securing applications with robust authentication and authorization logic. It offers standardized templates for session-based and JWT authentication, Next.js middleware integration, and advanced server-side checks. Beyond basic login, it covers critical security features including Role-Based Access Control (RBAC), OAuth integration, cryptographically secure password reset flows, and account lockout mechanisms to defend against brute-force attacks, ensuring developers follow industry best practices from the start.