Auth Implementation Patterns
Implements secure authentication and authorization systems using industry-standard patterns like JWT, OAuth2, and RBAC.
This skill provides Claude with specialized knowledge for designing and implementing robust access control systems. It covers a comprehensive range of security patterns, including stateless JWT authentication with refresh token flows, stateful session management using Redis, and delegated authentication via OAuth2 and OpenID Connect. Beyond identity verification, it offers sophisticated authorization strategies like Role-Based Access Control (RBAC) and granular permission hierarchies, providing the architectural guidance and production-ready code snippets necessary to build and debug secure, scalable backend services.
Key Features
01Role-Based Access Control (RBAC) and permission-based hierarchies
026 GitHub stars
03Secure middleware patterns for API protection and identity validation
04Scalable session-based management using Redis storage
05OAuth2 and social login integration using Passport.js
06Stateless JWT implementation with refresh token rotation and revocation
Use Cases
01Refactoring legacy stateful auth to modern stateless JWT architectures
02Building a secure multi-tenant SaaS authentication system
03Implementing 'Login with Google' or social SSO for web applications