This skill equips Claude with specialized knowledge for architecting and implementing robust security layers in modern applications. It covers essential authentication strategies like stateless JWT flows with refresh tokens, stateful session management via Redis, and third-party social logins via OAuth2/Passport.js. Additionally, it offers comprehensive patterns for authorization, including Role-Based Access Control (RBAC) and granular Permission-Based Access Control, ensuring your APIs and services remain secure, scalable, and manageable while adhering to best security practices.
主要功能
01Stateful session management using Redis and express-session
02Secure middleware development for API endpoint protection
03JWT and refresh token implementation with rotation patterns
04Role-Based and Permission-Based Access Control (RBAC/PBAC)
05OAuth2 and social login integration via Passport.js
0689 GitHub stars
使用场景
01Migrating legacy session-based systems to modern stateless JWT tokens
02Designing complex permission structures for multi-tenant SaaS platforms
03Securing REST and GraphQL APIs against unauthorized access