Auth Flow Architect

Design authentication and authorization architectures - OAuth2/OIDC flow selection, JWT vs opaque tokens, refresh token rotation with reuse detection, session management and revocation, token storage rules per client type (SPA, mobile, server, M2M), the BFF pattern, RBAC/scopes/permissions modeling, and multi-tenant claims. Use when building or reviewing login/auth for an app, choosing between sessions and JWTs, integrating an identity provider (Auth0, Keycloak, Entra ID, Cognito), securing an SPA or mobile app, designing API-to-API auth, fixing token expiry/refresh bugs, or when the user asks how to do auth properly.

tamasbege 0886187 25.7 KB Updated

File contents

tamasbege/staff-engineer-skills/tree/main/plugins/staff-engineer-skills/skills/auth-flow-architect commit 08861877c6

Frequently asked questions

npx skillmds@latest add tamasbege/auth-flow-architect