Authentication Patterns

0•

Implements secure identity management architectures including JWT rotation, OAuth2 PKCE flows, and role-based access control.

This skill equips Claude with standardized, production-grade patterns for securing modern web applications. It provides comprehensive implementation guides for JSON Web Tokens (JWT) using access and refresh token cycles, secure middleware for Node.js/TypeScript environments, and the OAuth2 Authorization Code flow with PKCE. In addition to boilerplate code, the skill includes a critical security checklist and a directory of common anti-patterns—such as insecure token storage and user enumeration—to help developers build resilient, audit-ready authentication and authorization systems.

주요 기능

01Short-lived JWT access tokens with secure refresh token rotation
02Pre-configured middleware for authentication and Role-Based Access Control (RBAC)
03OAuth2 Authorization Code Flow implementation with PKCE for public clients
04Comprehensive security anti-patterns guide to avoid common vulnerabilities
05Built-in checklist for password hashing, CSRF protection, and token revocation
060 GitHub stars

사용 사례

01Building a secure, multi-tenant authentication system for a TypeScript backend
02Implementing granular permission layers for enterprise-grade dashboards
03Integrating third-party identity providers using modern security protocols