Authentication vs. Authorization — the foundational distinction
SAML's XML-based enterprise federation and when it applies
OAuth 2.0 delegated authorization for API integrations
OIDC — authentication built on top of OAuth for modern apps
10B+
'Sign in with Google' authentications monthly (OIDC)
90%
Fortune 500 firms use SAML for enterprise SSO
RFC 6749
The OAuth 2.0 standard specification
SAML handles Authentication AND Authorization. OIDC handles Authentication. OAuth handles Authorization. This one sentence is worth 3 exam points.

Authentication vs. Authorization: The Foundation

Authentication (AuthN) proves WHO you are. Authorization (AuthZ) determines WHAT you are allowed to do after identity is confirmed. These are separate processes — confusing them costs exam points.

Choosing the Right Protocol

SAML (Security Assertion Markup Language) is the enterprise standard using XML to pass assertions between an Identity Provider (IdP) and a Service Provider (SP). Primary Use: Corporate web-based SSO — Salesforce, ServiceNow, Workday via Okta or Azure AD. Format: XML (heavy, not mobile-friendly). Exam Keyword: 'XML-based authentication' or 'Enterprise web application SSO.' If you see these phrases, the answer is SAML.
OAuth 2.0 is NOT an authentication protocol. It is an authorization framework — it allows an app to access data from another app on behalf of a user without sharing passwords. Primary Use: 'Sign in with Google' — the app gets permission to 'Read your contacts.' Format: JSON Web Tokens (JWT) over HTTPS REST APIs. Critical Trap: Never say OAuth provides authentication. If identity verification is needed, the answer is OIDC, not OAuth.
OpenID Connect (OIDC) adds an identity layer on top of OAuth 2.0 using an ID Token (a JWT containing user identity claims). Primary Use: Modern web apps, SPAs, and mobile apps needing both authentication AND API access in one flow. Exam Keyword: 'Modern REST API authentication,' 'Mobile app SSO,' 'JSON-based identity.' Mobile app + REST API → OIDC.
RADIUS handles Authentication and Accounting for network-level access — VPN, Wi-Fi (802.1X), and network equipment. TACACS+ (Cisco's alternative) separates Authentication, Authorization, and Accounting into three distinct transactions, encrypting the entire packet — better for command-level auditing of network engineers. Exam Keyword: 'VPN authentication,' 'network equipment AAA' → RADIUS. 'Granular admin command accounting on routers' → TACACS+.
ProtocolFunctionFormatPrimary Use Case
SAMLAuthN & AuthZXMLLegacy & Enterprise web app SSO
OAuth 2.0AuthZ onlyJSON / REST APIDelegating access to third-party apps
OIDCAuthN (identity layer on OAuth)JSON / REST APIModern web & mobile apps
RADIUSAuthN & AccountingUDPVPN, 802.1X Wi-Fi, network AAA
TACACS+AuthN, AuthZ & Accounting (separate)TCP (encrypted)Network device command-level auditing
KerberosAuthN (tickets)Symmetric key (AS/TGS)Internal Windows domain authentication

Real-World Scenario

A developer builds a SaaS app letting users 'Login with GitHub' and post to their GitHub repositories. The login identity portion uses OIDC (identity via GitHub's identity layer). The repository write permission uses OAuth 2.0 (delegated authorization to call the GitHub API). Both protocols work together in a single login flow.

Mobile app + REST API → OIDC. XML + enterprise web federation → SAML. Third-party API access without SSO → OAuth 2.0. VPN/Wi-Fi AAA → RADIUS. Router command auditing → TACACS+.
  • SAML = enterprise XML SSO. OAuth = delegated API authorization. OIDC = identity layer on OAuth.
  • OAuth 2.0 is NOT an authentication protocol — never select it when the scenario asks about proving identity.
  • RADIUS encrypts only the password. TACACS+ encrypts the entire packet — better for device admin auditing.
  • OIDC issues ID Token (who you are) + Access Token (what you can do) in a single OAuth flow.
  • Kerberos uses symmetric key tickets internally — the default Windows domain authentication protocol.

Ready to test your knowledge?

Take a free full-length practice exam with 90 questions and instant feedback.

Start Practice Exam