caduh

Posts tagged “auth

Tiny explainers grouped by topic. Spend less time Googling, more time building.

RBAC vs ABAC vs ReBAC

Most teams do not need every authorization model. This shows where RBAC, ABAC, and ReBAC fit, and what gets painful later if you pick the wrong one.

devauthauthorization

Passkeys / WebAuthn in Practice

What shipping passkeys actually involves: registration, sign-in, recovery, account settings, and the RP ID/origin mistakes that break rollouts.

devauthpasskeys

Session Cookies vs JWTs vs PASETO

Three ways to carry auth state, three different tradeoffs. Here’s where session cookies, JWTs, and PASETO fit without stateless-auth cargo culting.

devauthsecurity

OAuth 2.1 & OpenID Connect for Builders

The auth stack most teams inherit, minus the jargon: code + PKCE, refresh tokens, ID tokens, and machine-to-machine flows that actually matter.

devauthoauth

JWTs — Expiration, Rotation, and Revocation

Design access + refresh flows that are safe: short-lived access tokens, rotating refresh tokens with reuse detection, device-scoped sessions, and practical revocation strategies.

devsecurityauth