2025-08-19 · Cybersecurity
What Is Single Sign-On (SSO)?
What is Single Sign-On (SSO)?
Introduction
Many websites offer a “Single Sign-On” option when you log in. For example, signing in to your Google account lets you access services such as YouTube and Gmail. Explore the pain points that SSO addresses, the potential problems with logging in across multiple services, and the workflows that make sign-in more convenient and secure.
Understanding the Problem
When people use many accounts and passwords to log in to different websites, they tend to choose simple, memorable passwords or reuse the same password to make them easier to manage. This leads to a poor user experience and potential security vulnerabilities. SSO emerged to deliver on the promise of “sign in once, access everything.”
How SSO Works
SSO is built on the concept of federated identity. For example:
Company B has signed a partnership agreement with Company A, so employees only need to show their Company A employee badge to enter Company B’s building, without having to obtain a separate access card for Company B.
Understanding the Terminology
- SAML
- Service Provider (SP): The party that provides a service, such as Slack or Notion
- Identity Provider (IdP): The party that verifies a user’s identity. For example, when you choose “Sign in with Google,” Google is the IdP
- OIDC
- Relying Party (RP): An application or service that needs to verify a user’s identity
- OpenID Provider (OP): The equivalent of an IdP, acting as a trusted third party for user authentication
Understanding SSO Implementation Standards and Protocols
Security Assertion Markup Language (SAML)
Security Assertion Markup Language (SAML) is an XML-based standard.
OIDC (OpenID Connect)
Built on OAuth 2.0, OIDC combines authorization and authentication. Whereas SAML uses XML, OIDC uses JWT-formatted tokens.
Kerberos
Kerberos is commonly used in internal networks and is especially widely deployed in Windows domains, such as Active Directory. It uses symmetric-key encryption and tickets to prove identity, providing a fast and secure SSO experience within enterprise networks.
Summary
- SAML (2002): Originated in enterprise environments, particularly traditional IT and intranet applications, and was designed primarily for browser-centric web applications.
- OIDC (2014): An extension of OAuth 2.0 designed specifically for modern web and mobile applications, taking into account the needs of API-driven applications, apps, and single-page applications (SPAs).
- Kerberos (1980s): Primarily used within enterprise networks and especially widely deployed in Windows domains (Active Directory). It uses symmetric keys and tickets to deliver a fast, secure SSO experience while avoiding repeated password transmission over the network.
Single Sign-On (SSO) allows users to securely sign in to and access multiple websites and services with a single set of credentials, greatly improving convenience and administrative efficiency.
Although users no longer need to set a different password for each website, reducing the risk of attacks that exploit reused or overly simple passwords, this convenience also introduces risks: if the primary SSO account is compromised, an attacker could gain access to all associated services. In addition, because an SSO system centralizes authentication, an outage creates a single point of failure that can prevent users from signing in to any service.