Authentication vs Authorization: The Difference That Trips Everyone Up
Authentication and authorization sound alike and are often shortened to the same "authZ/authN," but they answer different questions. Getting them straight is foundational to identity.
Authentication (AuthN): who are you?
Authentication verifies identity. It is the login step: passwords, passkeys, biometrics, and multi-factor authentication. A successful authentication establishes a trusted session.
Authorization (AuthZ): what can you do?
Authorization happens after authentication and decides what the verified identity is allowed to access. This is where RBAC, ABAC, and ReBAC models live.
Why mixing them up is dangerous
A common flaw is treating "logged in" as "allowed." A user can be perfectly authenticated and still must be checked for permission on every sensitive action. Broken authorization is consistently among the most common and severe application vulnerabilities.
Where it fits
Both are pillars of IAM and Zero Trust, where every request is verified (authN) and least-privilege checked (authZ).
The failure looks like this
Broken authorization is consistently near the top of the OWASP list, and the shape is almost always the same. A request arrives with a valid session, the application confirms the user is logged in, and then reads an identifier from the request to decide what to return. Change the identifier and you get someone else's data. The user was perfectly authenticated the whole time.
Two rules prevent most of it:
- Check permission on the object, not the endpoint. "Is this user allowed to view invoice 4471" is a different question from "is this user allowed to use the invoice endpoint."
- Never trust an identifier the client supplied to select the record without an ownership or relationship check on the server.
Authorization models, briefly
Once you are checking properly, the question becomes how the rules are expressed:
- RBAC bundles permissions into roles. Readable and auditable, and prone to role explosion as every exception becomes a new role.
- ABAC evaluates attributes of the subject, resource, action, and environment. Flexible, harder to audit, because "who can read this record" becomes a computation rather than a lookup.
- ReBAC derives access from relationships (owner, member, parent), which is what sharing and collaboration products actually need.
Most mature systems use roles for the coarse grant and attributes or relationships for the fine-grained condition. See RBAC vs ABAC vs ReBAC.
Where the line blurs
Claims in a token are where authentication quietly becomes authorization. If your application reads a roles or groups claim and grants access on that basis, the integrity and freshness of that claim is now an authorization control: validate the signature, issuer, and audience, and remember that a token minted before someone left a group stays valid until it expires.
Where to start
Where to start
Browse authentication and MFA vendors and authorization engines.
Frequently asked questions
- What is the difference between authentication and authorization?
- Authentication proves who you are. Authorization determines what you are allowed to do once authenticated.
- Which comes first, authentication or authorization?
- Authentication comes first to establish identity, then authorization decides access based on that identity.
- What do authn and authz mean?
- Authn is shorthand for authentication and authz is shorthand for authorization, two distinct steps: identity verification versus permission enforcement.
Related on Start with Identity
- GuideOAuth 2.0 vs OpenID Connect: What's the Difference?
OAuth 2.0 and OpenID Connect are constantly confused, and using the wrong one creates real security holes. The short version: **OAuth is for authorization, OIDC
- GuideWhat Is Passwordless Authentication?
Passwordless authentication verifies a user without a shared secret they have to remember. Instead of a password, the user proves identity with something they h
- GuideSAML vs OIDC: Which Federation Protocol Should You Use?
SAML and OpenID Connect (OIDC) both enable single sign-on, but they come from different eras and fit different jobs. Choosing well saves you years of integratio
- BlogA 9.8-CVSS vCenter authentication bypass has no workaround, only an emergency patch
Broadcom shipped emergency fixes for three critical VMware flaws, including CVE-2026-59309 (CVSS 9.8), which lets any attacker with network access to vCenter by
- GlossaryAdaptive Authentication
Authentication flows that change based on risk signals. Low-risk sign-ins may complete with one factor; high-risk sign-ins escalate to step-up MFA or are blocke
- GlossaryAuthorization Code Flow
The recommended OAuth 2.0 flow for apps with a user: the app receives a short-lived code, then exchanges it for tokens from a back channel. Combined with PKCE f