Backend Auth Patterns

Use this skill when the user says 'auth', 'authentication', 'authorization', 'JWT', 'OAuth', 'RBAC', 'permissions', 'login', 'session', 'refresh token', 'guard', 'middleware auth', or when implementing or reviewing authentication and authorization. This skill enforces: JWT structure and validation, refresh token rotation, OAuth2/OIDC flows, RBAC vs ABAC decision, middleware placement, and password security. Applies to any backend stack. Do NOT use for: specific OAuth provider implementation details, frontend auth UI, or passwordless login flows.

j4flmao Updated

File contents

j4flmao/agent-skills/tree/main/skills/backend/universal/auth-patterns commit f94033ac13

Frequently asked questions

npx skillmds@latest add j4flmao/backend-auth-patterns