ELI5: What is Single Sign-On?

Remember how annoying it would be if you had to show your ID at every single classroom door in school? Single sign-on is like showing your ID once at the front entrance and then being allowed into every room for the rest of the day. You log in one time, and all your apps and websites recognize you without asking for your password again. It saves time and means you only need to remember one password.

Overview

Single Sign-On (SSO) allows users to authenticate once and gain access to multiple independent applications or systems without re-entering credentials. SSO improves user experience and reduces password fatigue while centralizing authentication control. It is a key component of modern identity and access management strategies.

Key Concepts

  • SAML (Security Assertion Markup Language): XML-based standard for exchanging authentication and authorization data between an identity provider (IdP) and a service provider (SP)
  • OAuth 2.0: Authorization framework that grants third-party applications limited access to resources without sharing credentials
  • OpenID Connect (OIDC): Authentication layer built on top of OAuth 2.0, commonly used for consumer-facing SSO
  • Kerberos: Ticket-based authentication protocol used in Active Directory environments; uses a Key Distribution Center (KDC)
  • Identity Provider (IdP): The trusted authority that authenticates users and issues tokens or assertions
  • Service Provider (SP): The application or resource that relies on the IdP for authentication
  • Token-based authentication: SSO systems issue tokens (JWT, SAML assertions) that prove identity to relying parties
  • Single point of failure risk: If SSO is compromised, all linked applications are at risk

Exam Tips

Remember

SAML = enterprise/web SSO (XML-based), OAuth = authorization (not authentication), OIDC = authentication on top of OAuth. Kerberos = on-premises AD environments using tickets and a KDC.

  • SSO reduces the attack surface for password-based attacks but creates a high-value target
  • Know the difference between SSO (one login, many apps) and federated identity (across organizations)
  • LDAP is a directory protocol, not an SSO protocol — but it supports SSO implementations

Connections

  • Core component of identity-management for streamlining user access
  • Should always be paired with mfa to mitigate the risk of credential compromise
  • Extends across organizations through federation using protocols like SAML
  • Reduces exposure to password-attacks by minimizing the number of credentials users manage

Practice Questions

Scenario

See case-sso for a practical DevOps scenario applying these concepts.