What problem does it solve? Building secure authentication and authorization is error-prone, and mistakes like weak password hashing, missing rate limits, or insecure token storage lead to breaches. This Skill provides production-tested patterns for implementing auth systems correctly the first time. ## Core Features & Use Cases - JWT & Refresh Token Flows: Generate short-lived access tokens with database-backed refresh token rotation and revocation. - Session & OAuth2 Authentication: Set up Redis-backed Express sessions or social login via Passport.js with Google and GitHub strategies. - Authorization Models: Implement role-based access control, permission-based checks, and resource ownership validation middleware. - Use Case: When securing a new Express API, apply the JWT middleware, bcrypt password hashing with Zod validation, and login rate limiting to ship a hardened auth layer. ## Quick Start Implement JWT authentication with refresh tokens and role-based access control for my Express API.