Authentication & Authorization Patterns

0•

Implements secure access control systems using JWT, OAuth2, session management, and role-based permissions.

This Claude Code skill provides a comprehensive toolkit for building robust authentication and authorization systems in modern web applications. It offers expert guidance and ready-to-use implementation patterns for JWT stateless authentication, stateful session management with Redis, and third-party social logins via OAuth2. By integrating industry-standard security practices like Role-Based Access Control (RBAC) and secure refresh token rotation, this skill helps developers secure APIs and user data against common vulnerabilities while ensuring the system remains scalable and maintainable.

主な機能

01Session-based authentication patterns using Redis storage
02OAuth2 and social login integration templates
03Role-Based (RBAC) and Permission-Based Access Control logic
04Standardized security middleware for Express and TypeScript
05JWT implementation with secure refresh token rotation
060 GitHub stars

ユースケース

01Implementing multi-level user permissions and admin dashboards
02Migrating legacy stateful sessions to stateless modern architectures
03Securing REST and GraphQL APIs with token-based access