Security
Authentication architecture for SaaS platforms
Averon Editorial · 2025-11-22 · 1 min read
Separate the sign-in ceremony from the authorization decision.
Separate the sign-in ceremony from the authorization decision.
Context
Separate the sign-in ceremony from the authorization decision.
What to decide
The session can live in your application database. The decision of what that session may do belongs in RBAC or ABAC evaluated on each request.
How to apply it
MFA and passwordless flows change the ceremony. They should not require a rewrite of every permission check.
What to avoid
Rate-limit sign-in and token endpoints. Log the outcome without logging the secret.