authentication-patterns
Installation
SKILL.md
Authentication & Authorization Patterns
Master JWT, OAuth, sessions, password management, and API security.
When to Use This Skill
- Implementing user login/logout
- Managing JWT tokens and refresh tokens
- Implementing OAuth 2.0 flows
- Hashing and validating passwords
- Creating password reset flows
- Implementing API keys
- Managing user sessions
- Implementing multi-factor authentication (MFA)
- Role-based access control (RBAC)
JWT Authentication
Generate and verify tokens: