I. Overview

%%{init: { 'theme': 'base', 'themeVariables': { 'edgeLabelBackground': '#fff' }}}%%
flowchart LR
    A["A single\nuser request"] -- "Identity verification, then privilege granting" --> B["Trust-based\naccess control"]
    style A fill:#f9f9f9,stroke:#333,stroke-width:3px
    style B fill:#e1f5fe,stroke:#01579b,stroke-width:3px

Definition: Authentication verifies who a subject claims to be, while authorization determines what an authenticated subject is permitted to do — two distinct but sequential steps in access control.

Features:
( Identity Verification (Authentication) ) Confirms whether a subject’s claimed identity is genuine, establishing trust at the system’s entry point
( Privilege Control (Authorization) ) Defines the scope of an authenticated user’s actions and grants resource access under the principle of least privilege
( Security Visibility ) Authentication and authorization logs trace a subject’s activity and provide accountability when incidents occur

II. Mechanism & Components

A. Relationship Between Authentication and Authorization

sequenceDiagram
    participant User as Subject
    participant AuthN as Authentication Server (AuthN)
    participant AuthZ as Authorization Server (AuthZ)
    participant Resource as Resource (Object)

    User->>AuthN: Submit proof of identity (ID / PW / MFA)
    AuthN-->>User: Authentication succeeds, token issued (JWT / Session)
    User->>AuthZ: Request resource access with token
    AuthZ->>AuthZ: Verify privileges (ACL / RBAC)
    AuthZ-->>Resource: Grant access
    Resource-->>User: Provide resource

Explanation: When a subject makes an access request, its identity is first verified through authentication; the resulting token or session is then used by the authorization server to decide whether access is permitted.

B. Key Comparison Points

Comparison ItemAuthenticationAuthorization
Core Question“Who are you?”“What are you allowed to do?”
SequencingA prerequisite for authorization (performed first)Performed after authentication completes
Implementing TechnologiesID/PW, MFA, FIDO, biometric authenticationACL, RBAC, OAuth 2.0, IAM policies
What Is PresentedCredentialsProof of authorization (access token, scope)
Result on Failure401 Unauthorized (identity not confirmed)403 Forbidden (insufficient privileges)

III. Advanced Topics & Comparison

A. Evolution of Authentication: Passkeys and MFA

  • MFA (Multi-Factor Authentication): Combines two or more of knowledge (password), possession (OTP), and inherence (biometrics)
  • FIDO2 / Passkey: Implements a passwordless environment, cutting off phishing attacks at the source

B. Evolution of Authorization: OAuth 2.0 and ABAC

  • OAuth 2.0: Delegates only resource-access privileges to third-party applications without exposing the user’s password
  • ABAC (Attribute-Based): Dynamic authorization based on attributes beyond just job title — including access time, location, and device security posture

Last updated 18 Aug 2026, 00:00 UTC. history