Auth Implementation Patterns
Implements secure, scalable authentication and authorization systems using industry-standard patterns like JWT, OAuth2, and RBAC.
This skill provides Claude with comprehensive guidance for building robust access control systems within modern applications. It covers essential security architectures, including stateless JWT authentication with refresh token rotation, stateful session management using Redis, and third-party OAuth2 integrations via Passport.js. Beyond identity verification, it offers structured patterns for Role-Based Access Control (RBAC) and granular permission-based systems, enabling developers to secure APIs and manage user permissions with production-grade code snippets and best practices.
主な機能
01JWT implementation with secure refresh token rotation flows
02Hierarchical Role-Based Access Control (RBAC) middleware
0314 GitHub stars
04OAuth2 and social login patterns for Google and GitHub integration
05Stateful session management using Express-session and Redis
06Granular Permission-Based Access Control for complex security needs
ユースケース
01Implementing social login and SSO for web applications
02Securing REST or GraphQL APIs with token-based authentication
03Designing granular permission systems for enterprise dashboards