Use this when users log in once and reach many apps through SAML, OAuth 2.0 or OpenID Connect.
Single Sign-On & Federation
Single sign-on and federation let users log in once with a central identity provider and reach many applications, using SAML, OAuth 2.0 and OpenID Connect tokens instead of separate passwords for each app.
1. SSO lets users authenticate once at an IdP for many apps.
2. Federation trusts between IdPs and SPs.
3. SAML for enterprise apps; OIDC for modern apps.
4. Protect the IdP — it's a high-value target.
5. Monitor token misuse.
user → IdP auth → token/assertion → app session
Context & applicabilityCommon mistakes · platform/version boundaries
- SSO for most apps but local accounts left enabled as a backdoor.
- No MFA at the IdP, so one password opens everything.
- Users not deprovisioned in SaaS apps that do not use SCIM.
- IdP becomes a single point of failure without break-glass accounts.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
Single sign-on lets users authenticate once with an identity provider and access many applications without logging in again, improving usability and centralizing MFA and access control.
Subtopic FederationFederation is a trust between an identity provider and service providers, or between organizations, so users authenticate at home and access partner applications without separate accounts.
Subtopic SAMLSAML 2.0 is an XML-based SSO standard where the identity provider sends a signed assertion about the user to the service provider, typically through the browser.
Subtopic OAuth 2.0OAuth 2.0 is an authorization framework that lets an application get limited access to an API on a user's behalf through access tokens, without handling the user's password.
Subtopic OpenID ConnectOpenID Connect (OIDC) adds authentication to OAuth 2.0, returning an ID token with user identity, plus a standard user info endpoint and discovery.
Subtopic Identity ProviderAn identity provider (IdP) authenticates users and issues assertions or tokens to applications, such as Entra ID, Okta, AD FS or Keycloak, centralizing login, MFA and policies.
Subtopic Service ProviderA service provider (SP), or relying party, is the application that trusts an identity provider's assertions or tokens to log users in, configured with the IdP's metadata and certificate.
Subtopic ClaimsClaims are statements about a user carried in a token or SAML assertion, such as name, email, groups or roles, which applications use to make authorization decisions.
Subtopic TokensTokens in SSO and federation are signed data structures — SAML assertions, ID tokens, access and refresh tokens — that carry identity and authorization between identity provider, client and APIs.
Subtopic Access TokenAn access token is a short-lived credential an application presents to an API to prove authorization, such as an OAuth 2.0 bearer token, often a JWT with scopes and an expiry.
Subtopic ID TokenAn ID token is an OpenID Connect JWT that tells the client who the user is and how they authenticated, with claims like sub, iss, aud and exp.
Subtopic Refresh TokenA refresh token lets a client get new access tokens without the user logging in again.
Subtopic Federation TroubleshootingTroubleshoot federation and SSO by decoding the SAML response or JWT, checking issuer, audience and redirect URIs, signing certificates and their expiry, clock skew, and claim mappings for the user.
Subtopic KeycloakOpen-source identity provider: realms, clients, client scopes, roles, authentication flows, identity brokering, LDAP/AD user federation, sessions and the admin CLI.
- The identity provider becomes a critical system.
- Tokens must be validated: issuer, audience, signature, expiry.
- Clock skew and certificate rollover break SSO.
- IdP application list — SSO apps
- Federation trust metadata — SAML/OIDC configs
- Sign-in logs — SSO success/fail
ReferenceWhy it matters1 section · depth on demand
Protocols compared
| Protocol | Format | Typical use |
|---|---|---|
| SAML 2.0 | XML assertions | Enterprise web SSO to SaaS |
| OpenID Connect | JWT ID tokens over OAuth 2.0 | Modern web and mobile login |
| OAuth 2.0 | Access tokens | API authorisation (not login on its own) |
| Kerberos | Tickets | On-premises Windows SSO |
| WS-Federation | XML | Older Microsoft scenarios |
Identity providers: Entra ID, Okta, ADFS, Keycloak. Centralising login enables MFA and conditional access everywhere and one-click offboarding.
ReferenceHow it works1 section · depth on demand
In depth
Single sign-on and federation let users authenticate once with a trusted identity provider and access many applications, including those of other organisations. They centralise authentication policy, simplify user experience and make access removal immediate.
| Standard | Main use |
|---|---|
| SAML 2.0 | Enterprise web SSO |
| OpenID Connect | Modern web/mobile SSO on OAuth 2.0 |
| OAuth 2.0 | Delegated API authorisation |
| SCIM | User provisioning between IdP and apps |
The topics in this group explain identity and service providers, tokens, claims and the protocols. The identity provider becomes critical infrastructure and must be protected accordingly.
ReferenceImportant terms & boundaries1 section · depth on demand
Choosing a protocol
| Need | Protocol |
|---|---|
| Enterprise SaaS login (older apps) | SAML 2.0 |
| Modern web and mobile login | OpenID Connect |
| API authorisation | OAuth 2.0 |
| User provisioning | SCIM |
| On-prem Windows apps | Kerberos / Entra application proxy |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Single Sign-On & Federation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7522 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.