Auth Implementation Patterns
Implements secure authentication and authorization systems including JWT, OAuth2, session management, and role-based access control.
The Auth Implementation Patterns skill provides Claude with comprehensive expertise in architecting and implementing modern access control systems. It moves beyond simple login forms to offer production-ready patterns for stateless JWT authentication with refresh token rotation, stateful session management using Redis, and delegated identity via OAuth2. By providing standardized templates for Role-Based Access Control (RBAC) and permission-based logic, this skill ensures that developers can secure their REST or GraphQL APIs with industry-standard best practices and robust security middleware.
Key Features
01OAuth2 and Social Login integration patterns using Passport.js
02Stateless JWT implementation with access and refresh token flows
03Secure middleware for token verification and credential handling
04Stateful session-based authentication using Express and Redis storage
05Hierarchical Role-Based (RBAC) and Permission-Based Access Control
060 GitHub stars
Use Cases
01Securing REST or GraphQL APIs for production environments
02Migrating from legacy session-based auth to modern JWT systems
03Implementing complex multi-tenant permission and role systems