Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.
Add this skill
npx mdskills install sickn33/auth-implementation-patternsClear auth guidance with strong safety practices but lacks concrete implementation steps
1---2name: auth-implementation-patterns3description: Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.4---56# Authentication & Authorization Implementation Patterns78Build secure, scalable authentication and authorization systems using industry-standard patterns and modern best practices.910## Use this skill when1112- Implementing user authentication systems13- Securing REST or GraphQL APIs14- Adding OAuth2/social login or SSO15- Designing session management or RBAC16- Debugging authentication or authorization issues1718## Do not use this skill when1920- You only need UI copy or login page styling21- The task is infrastructure-only without identity concerns22- You cannot change auth policies or credential storage2324## Instructions2526- Define users, tenants, flows, and threat model constraints.27- Choose auth strategy (session, JWT, OIDC) and token lifecycle.28- Design authorization model and policy enforcement points.29- Plan secrets storage, rotation, logging, and audit requirements.30- If detailed examples are required, open `resources/implementation-playbook.md`.3132## Safety3334- Never log secrets, tokens, or credentials.35- Enforce least privilege and secure storage for keys.3637## Resources3839- `resources/implementation-playbook.md` for detailed patterns and examples.40
Full transparency — inspect the skill content before installing.