SSO (Single Sign-On, logging in once to use many apps) lets users remember one password and lets the IT team control access from one place. Technically SSO needs a shared protocol (an agreement on how systems talk to each other), and the two popular ones are SAML and OIDC. This article explains the difference, how to choose, and what decision-makers should ask a provider before turning it on.
How SSO works
SSO has two parties: the IdP (Identity Provider, the central system that verifies the user) and the app the user wants to reach, called the SP (Service Provider) in SAML or the RP (Relying Party) in OIDC. When the user opens the app, the app sends the user to the IdP to log in. The IdP then returns a digitally signed identity document to the app. This document is called an assertion (a message the IdP issues to confirm who the user is). The app never sees the user's password.
How SAML and OIDC differ
SAML 2.0 is an OASIS standard (OASIS is a technology standards body) that uses XML documents (structured, tag-based data) as assertions. The OASIS reference documents are dated March 2005. OIDC (OpenID Connect) is an identity layer built on OAuth 2.0 (RFC 6749, published October 2012, a framework for letting an app access data on a user's behalf). OIDC returns the result as an ID token (identity data in JWT format, a signed JSON message). The latest specification we checked is OpenID Connect Core 1.0 incorporating errata set 2, status Final, dated 15 December 2023.
- SAML: suits enterprise apps and SaaS (software rented over the cloud) that have supported it for years. Setup exchanges a metadata file (a file holding each party's URLs and keys).
- OIDC: suits modern web apps, mobile apps and APIs (the channels programs use to talk to each other). The data is JSON, which is easier to read and code against than XML.
- OAuth 2.0 alone: an authorization framework, not authentication. An app that needs to know who the user is should use OIDC, which builds on OAuth.
- Our view: do not pick one side for the whole organization. Use whichever protocol each app supports best, and let one IdP handle both.
SAML
- XML dataassertion is an XML document
- Enterprise apps and SaaSlong-established support
- Metadata exchangetrack certificate expiry
OIDC
- JSON dataID token in JWT form
- Web, mobile and APIbuilt on OAuth 2.0
- Check iss, aud, exprequired token fields
What NIST SP 800-63C tells decision-makers
NIST SP 800-63C-4 (Digital Identity Guidelines: Federation and Assertions) was finalized in July 2025 and replaces the earlier edition last updated in 2020. It grades federation (using one identity across systems) into FAL1 to FAL3 (Federation Assurance Level, the confidence level of cross-system authentication). FAL1 requires the IdP to sign the assertion and the app to validate that signature. FAL2 adds protection against injected forged assertions and requires a pre-established trust agreement. FAL3 requires the app to verify that the user controls an authenticator (a device or key that proves identity). Every level must prevent an assertion from being replayed, and NIST recommends delivering assertions over a back channel (the app receives them directly from the IdP), which helps against injection.
- Always validate the signature: the app must verify the signature of the assertion or ID token. If it does not, anyone can forge one.
- Name the audience: an ID token carries aud (intended recipient), iss (issuer) and exp (expiry time), which OIDC Core requires. The app must check that they match. NIST requires FAL2 and FAL3 assertions to be limited to a single app.
- Prevent replay: OIDC has a nonce (a random value that ties a request to a token), required in the implicit flow and some hybrid flows.
- Enforce MFA at the IdP: one control point covers every app. See Which MFA Is Safer? SMS, Authenticator Apps, Push, and Passkeys
- Ask about revocation: our view: ask the provider how soon sessions in each app end after an account is disabled at the IdP.
Risks to plan for
- The IdP is a large target: if the IdP goes down or is taken over, every connected app is affected at once. Control IdP admin accounts as you would with PAM. See PAM Explained: Controlling Privileged Access
- Apps with their own passwords: apps outside SSO keep separate passwords that the IdP cannot control.
- Expiring keys and certificates: SAML uses a signing certificate, and if it expires without being re-exchanged, logins to that app fail.
- Misconfiguration: for example not checking the audience, or accepting a redirect URI (the address the IdP sends the user back to) that is too broad.
- Forgotten revocation: a departed user may keep a session in an app, so set a session lifetime.
Where to start
- Inventory apps: separate those that support SAML, OIDC or passwords only.
- Start with the critical apps: email, cloud and finance systems, then expand.
- Choose an IdP that supports both protocols: and check that it can enforce MFA.
- Keep an expiry table: for certificates and signing keys of every app, with an owner.
- Test account disablement: disable a test account and watch when each app cuts off access.
To see where your identity management stands, try the self-assessment and close two or three gaps from the list above first. Once SSO is stable, consider reducing password dependence with Rolling Out Passkeys in the Enterprise, Step by Step.
References
- NIST SP 800-63C-4: Federation and Assertions: FAL1 to FAL3 and assertion requirements
- OpenID Connect Core 1.0 (errata set 2): ID token, flows and required claims
- OASIS: SAML 2.0 Technical Overview: assertion, IdP, SP and Web Browser SSO profile
- RFC 6749: The OAuth 2.0 Authorization Framework: the authorization framework OIDC builds on