Auth Implementation Patterns
Implements secure access control systems including JWT, OAuth2, and session-based authentication using industry-standard patterns.
This skill provides comprehensive guidance and boilerplate for building robust security layers in modern applications. It covers essential authentication strategies like stateless JWTs, stateful session management with Redis, and delegated identity via OAuth2/Passport.js. Additionally, it offers detailed implementation patterns for authorization, ranging from simple Role-Based Access Control (RBAC) to granular Permission-Based models and resource ownership validation, ensuring your APIs and services remain secure and scalable.
主な機能
01Secure session-based authentication using Express and Redis
020 GitHub stars
03Standardized JWT implementation with access and refresh token flows
04Best practices for password hashing and resource ownership verification
05Granular authorization models including RBAC and Permission-Based control
06Social login integration via OAuth2 and Passport.js
ユースケース
01Implementing multi-provider social login for web applications
02Designing complex enterprise permission systems with hierarchical roles
03Securing REST or GraphQL APIs with stateless token authentication