This skill provides comprehensive guidance and implementation patterns for building robust authentication and authorization systems in backend applications. It covers essential strategies including stateless JWT tokens with refresh flows, stateful Redis-backed session management, social login via OAuth2, and sophisticated access control models like Role-Based Access Control (RBAC). Whether you are securing a REST API, migrating an existing auth system, or debugging security vulnerabilities, this skill offers production-grade code examples and best practices to ensure user data remains protected and systems scale efficiently.
주요 기능
01JWT implementation with secure access and refresh token flows
02Production-ready security middleware and identity verification patterns
03Stateful session management using Express and Redis storage
04Granular access control models including RBAC and PBAC
05Social login integration via OAuth2 and Passport.js
06111 GitHub stars
사용 사례
01Adding social login (Google/GitHub) to an existing REST or GraphQL API
02Building a secure user authentication system for a new web application
03Implementing Role-Based Access Control to manage complex user permissions