SAML vs OAuth vs OpenID Connect (and Where RADIUS and MFA Fit)
These technologies solve related—but different—problems. SAML is mainly federated sign-in. OAuth 2.0 is delegated access. OpenID Connect adds identity and login to OAuth. RADIUS centralizes network access control. MFA strengthens proof of identity.
Separate who are you?, what may this app access?, and may this device join the network?, and the exam answers become much easier.
Start with the problem each one solves
| Technology | Main job | What changes hands | Common example |
|---|---|---|---|
| SAML 2.0 | Federated single sign-on | An XML assertion from an identity provider | Employee signs in once and opens a SaaS HR app |
| OAuth 2.0 | Delegated authorization | An access token with defined scope | An app posts to a service without receiving the user’s password |
| OpenID Connect | Authentication layer built on OAuth 2.0 | An ID token plus optional access token | “Sign in with…” for a web or mobile app |
| RADIUS | Centralized AAA for network access | Access-Accept or Access-Reject after policy checks | WPA-Enterprise Wi-Fi, VPN, or switch sign-in |
| MFA | Stronger identity proof | Two or more factor types | Password plus an authenticator approval |
SAML: enterprise federation and SSO
Security Assertion Markup Language, or SAML, lets an identity provider (IdP) vouch for a user to a service provider (SP). The IdP might be Microsoft Entra ID or another enterprise identity system. The SP is the application the user wants to open.
In a typical browser flow, the application redirects the user to the IdP. The user authenticates there, possibly with MFA. The IdP returns a signed XML assertion stating who the user is and often including attributes such as name, email, or group membership. The service provider trusts the assertion because federation was configured in advance.
SAML is common in established enterprise SaaS environments. If a question emphasizes XML, assertions, an IdP, and a service provider, the answer is almost certainly SAML.
OAuth 2.0: delegated authorization, not login by itself
OAuth 2.0 answers a different question: “Can this client application act on a resource with limited permission, without the user giving the application their password?”
The user approves a set of permissions called scopes. An authorization server issues an access token, and the client presents that token to the resource server or API. The token might allow reading a calendar but not deleting mail, for example.
OAuth is an authorization framework. By itself, it does not standardize how the application proves who the signed-in user is. This is the most important SAML-versus-OAuth exam distinction: OAuth grants access; it is not, on its own, an authentication protocol.
OpenID Connect: OAuth plus identity
OpenID Connect (OIDC) is the identity layer built on OAuth 2.0. It adds a standardized sign-in flow and an ID token, typically a JSON Web Token containing claims about the authentication event and the user, such as issuer, subject, audience, and expiration.
So, if an application needs both API access and a reliable answer to “who just signed in?”, OIDC is designed for that job. In simplified exam language:
- OAuth access token: “This app may access that resource.”
- OIDC ID token: “This is the authenticated user, according to the issuer.”
OIDC is widely used by modern web, mobile, and cloud applications.
MFA: more than one kind of proof
Multifactor authentication combines independent factor types:
- Knowledge: something you know, such as a password or PIN
- Possession: something you have, such as a phone, hardware key, or smart card
- Inherence: something you are, such as a fingerprint or face
- Location: somewhere you are, such as a trusted place or network context
Two passwords are not MFA; they are two examples of the same factor. A password plus a hardware security key is stronger because an attacker must defeat both knowledge and possession.
MFA can protect SAML, OIDC, VPN, RADIUS-backed access, and local sign-in. It strengthens the authentication step but does not replace authorization decisions after login.
RADIUS: AAA at the network edge
RADIUS provides authentication, authorization, and accounting for network access. A switch, wireless controller, or VPN gateway acts as the network access server and sends the request to a RADIUS server. The server checks credentials and central policy against a directory or identity source, then returns accept or reject, sometimes with attributes such as a VLAN assignment.
Think of RADIUS when the scenario mentions:
- WPA2/WPA3-Enterprise Wi-Fi using individual credentials
- Remote-access VPN authentication
- 802.1X port authentication on switches
- Central accounting for who connected and when
RADIUS is not a replacement for SAML or OIDC. A user might authenticate to a laptop with OIDC and MFA, then the laptop or user connects to Wi-Fi where RADIUS and 802.1X control admission to the network.
How they fit together
These tools often coexist. Entra ID may provide a cloud sign-in with MFA, RADIUS may control Wi-Fi admission and VLAN placement, and OAuth scopes may authorize an API call.
The trick is to identify the layer in the question. Application SSO points to SAML or OIDC. API permission points to OAuth. Network admission points to RADIUS. A second factor type points to MFA.
On the exam
For Security+ (SY0-701), watch for these wording clues:
- XML assertion, IdP, service provider → SAML
- Access token, scopes, delegated API access, no password sharing → OAuth 2.0
- ID token built on OAuth → OpenID Connect
- AAA, 802.1X, Wi-Fi or VPN access server → RADIUS
- Password plus fingerprint or security key → MFA
Also remember that MFA factors must be different types. “PIN plus password” is not multifactor.
Practical takeaway
Ask what decision is being made. SAML and OIDC help an application trust a sign-in. OAuth lets an application use limited access. RADIUS decides network admission and records it. MFA makes the identity proof behind those decisions harder to steal.
FAQ
Is OAuth a way to log in? Not by itself. OAuth is for delegated authorization. OpenID Connect adds the standardized authentication and ID-token layer that applications use for login.
Why do companies still use SAML if OIDC exists? Many enterprise SaaS products and older federations are built around SAML. It remains widely supported and works well for browser-based enterprise SSO.
Can RADIUS work with MFA? Yes. A VPN or network access system can consult a RADIUS server whose policy or identity integration requires an additional factor before accepting the connection.
Ready to prove it?
Reading about identity protocols is a start. CertCrack practice exams for Security+ test you the way the real exam does — with explanations for every answer.
Try a Free Sample Quiz