authentication-and-authorization-fullstack

Installation
SKILL.md

Authentication And Authorization Fullstack

Use When

  • Adding login, signup, SSO, or session refresh flows
  • Enforcing role-based or permission-based access across UI and API
  • Reviewing security controls for identity-sensitive features

Workflow

  1. Define identity model (users, tenants, roles, permissions, claims).
  2. Choose session strategy (cookie session, JWT, or hybrid) with threat model.
  3. Implement backend middleware or guards for coarse and fine-grained authorization.
  4. Implement frontend route and component guards without exposing privileged actions.
  5. Add audit logs for sensitive operations and failed access attempts.
  6. Validate token expiry, refresh flow, revocation, and logout semantics.

Security Guardrails

Installs
2
GitHub Stars
3
First Seen
Jun 24, 2026