The user signs in once — say, to a corporate portal — and can then open mail, a CRM and a wiki without entering another password. For an organisation, single sign-on doubles as an access control centre: one account, one policy, one place where access is revoked.
How it works
At the centre of the scheme is the identity provider (IdP): a service that verifies the user and issues a confirmation. Applications — service providers (SP) — store no passwords and instead trust this confirmation: on receiving a SAML assertion or an OpenID Connect token, they let the user in. NIST describes single sign-on as a process in which one account and its authenticators grant access to several applications — such an exchange is usually built on a federation protocol. A session lives for a limited time, after which the user has to sign in again.
| Participant | Role |
|---|---|
| Identity provider (IdP) | verifies identity — password, MFA, device — and issues a confirmation |
| Service provider (SP) | an application that trusts the IdP and admits the user on its confirmation |
| Protocol | the rules of exchange between the IdP and the SP: SAML, OpenID Connect, Kerberos, CAS |
Main protocols
An early example of single sign-on is Kerberos: the protocol was developed at MIT for Project Athena, and its first publication came out in 1988. Today the exchange between the IdP and the SP is built on standardised protocols.
| Protocol | Where it is used |
|---|---|
| SAML 2.0 | XML assertions; the classic of corporate web application sign-in, an OASIS standard of 2005 |
| OpenID Connect | an identity layer on top of OAuth 2.0; the ID token is a JWT, as in “sign in with Google” flows |
| Kerberos | ticket-based authentication inside a Windows domain and Active Directory |
| CAS | a web protocol with a central authentication service |
What it gives and what it requires
- fewer passwords and resets: one account instead of a dozen local ones
- disabling an account cuts off access to all systems at once
- MFA and sign-in policies are configured in one place — the IdP
- the flip side: compromising the IdP opens every system at once, which is why it is protected with particular rigour
Sources
the term is written from these pages- NIST SP 800-63C — Digital Identity Guidelines: Federation and Assertionspages.nist.gov/800-63-4/sp800-63c.html(opens in a new tab)
- OASIS SAML 2.0 (2005)docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf(opens in a new tab)
- OpenID Connect Core 1.0openid.net/specs/openid-connect-core-1_0.html(opens in a new tab)
Verified 9 Nov