Single Sign-on

Technology — James William Steven Parker

Single Sign-On is an authentication architecture in which a user authenticates through a designated identity service and can then access multiple connected applications without separately entering credentials for each application. The central idea is to separate identity authentication from application access. Instead of every application independently maintaining and verifying the user's password, applications can rely on an identity provider that establishes an authenticated identity and communicates appropriate authentication information to connected services.

SSO can improve usability because users do not need to repeatedly authenticate to every service, and it can improve administrative consistency because organisations can centralise account lifecycle management, authentication policies and access controls. SSO is common in enterprise environments and cloud services, where employees may need access to many applications. However, centralisation also creates concentration of risk. If an identity provider or highly privileged SSO account is compromised, an attacker may potentially gain access to many connected services. SSO should therefore be designed as an identity architecture with strong authentication, careful application integration, monitoring and resilient recovery rather than merely as a convenience feature.

SSO implementations commonly use standardised identity and authentication protocols so that applications can trust assertions or tokens issued by an identity provider. In one common model, an application redirects the user to the identity provider for authentication and subsequently receives information that allows it to establish an authenticated application session. Other architectures involve an application acting as an intermediary for another service. The exact protocol determines how identities, assertions, tokens, signatures, audience restrictions, expiry and other security properties are represented.

Modern identity systems can also support authorisation information, allowing applications to determine which permissions or roles a user should receive. Authentication and authorisation should nevertheless remain conceptually distinct. Authentication establishes or supports a claim about who the user is, while authorisation determines what that identity is permitted to do. SSO primarily addresses the authentication experience and trust relationships, although SSO platforms often participate in broader identity and access management.

SSO can be implemented using different protocol families and deployment models. Enterprise systems may use standards designed for browser-based federation, while modern applications frequently use token-based identity frameworks suitable for web and mobile environments. Some environments use directory services and integrated authentication within managed networks, while others rely on cloud identity providers. Although the technologies differ, the architecture usually contains a trust relationship between the identity provider and the application.

The application must trust that the identity provider has authenticated the user correctly and that the resulting identity information has not been altered. This means configuration errors can have security consequences. Incorrect audience restrictions, weak redirect controls, excessive token lifetime, improper signature validation or inappropriate permission mapping can allow attackers to misuse authentication information. Developers integrating SSO should therefore follow the security requirements of the selected protocol and library rather than implementing token validation or cryptographic processing from scratch without a strong reason.

One major advantage of SSO is centralised account lifecycle management. When an employee joins an organisation, an identity administrator can provision access through a central system according to established roles. When employment ends, disabling the central identity can help remove access across connected applications, although effective revocation depends on application integration, session behaviour and token lifetimes. Role changes can similarly trigger changes in application access.

Centralisation also makes it easier to enforce common password policies, MFA requirements, device conditions and authentication monitoring. Without SSO, organisations may have numerous independent accounts whose lifecycle management is inconsistent. However, centralisation does not automatically guarantee complete deprovisioning. Applications may maintain local accounts, long-lived sessions, service credentials or independently assigned permissions. Effective identity governance therefore requires auditing the complete application estate and confirming that access is actually removed when an identity is disabled.

SSO creates a security dependency on the identity provider because the provider becomes a trusted gateway to multiple applications. Protecting privileged identity accounts is therefore especially important. Strong authentication, administrative separation, hardware-backed credentials where appropriate, monitoring and restrictive administrative privileges can reduce the risk of compromise. Identity providers can also generate valuable centralised logs showing authentication attempts, device information, application access and changes to identity configuration.

These logs can improve detection because unusual activity can be observed across many applications from one location. Conversely, a successful compromise of the identity provider can have broad consequences. An attacker who obtains privileged control may alter authentication policies, create accounts, change application integrations or otherwise undermine access controls. Organisations should therefore treat the identity provider as critical infrastructure and include it explicitly in incident-response, backup and recovery planning.

SSO differs from password synchronisation and credential reuse. Password synchronisation may attempt to keep passwords consistent across systems, while SSO allows connected applications to rely on a central authentication event or identity assertion. Reusing the same password across several independent services is not SSO and generally creates a significant security weakness because compromise of one service can expose the same password elsewhere.

A password manager can provide convenient access to multiple unique passwords without establishing a central authentication trust relationship, whereas SSO changes the underlying architecture so that applications rely on a common identity service. SSO can therefore reduce the number of credentials users need to manage while also providing central policy enforcement. It should not, however, be interpreted as eliminating the need for individual application authorisation. An application still needs to determine what an authenticated user is allowed to access and modify.

SSO has operational advantages as well as security implications. Fewer independent login processes can reduce password-reset requests and simplify onboarding. Centralised authentication can also provide a consistent user experience across web applications and internal services. However, availability becomes an important consideration because an outage affecting the identity provider may prevent users from accessing multiple dependent applications. Organisations may therefore need resilient identity infrastructure, appropriate emergency procedures and carefully designed recovery mechanisms.

Emergency access accounts can be useful in some environments but create additional security risks and should be strongly protected and monitored. Applications should also have clearly defined behaviour when identity services are unavailable, particularly where critical operations depend on continuous access. The architecture should avoid creating an unnecessary single operational point of failure while still retaining centralised security control.

SSO is most effective when combined with strong identity governance, appropriate MFA, least privilege, secure application integration and continuous monitoring. Organisations should maintain an inventory of applications connected to the identity provider, review their trust relationships and permissions, remove obsolete integrations and ensure that terminated users lose access appropriately. Application developers should validate identity information correctly and enforce intended audience, issuer, signature and expiry requirements according to the selected protocol.

Security teams should monitor privileged identity changes and unusual authentication activity because compromise of the central identity layer can have consequences across many services. The principal benefit of SSO is centralised and reusable authentication, while its principal architectural concern is concentration of trust. A well-designed implementation uses that centralisation to improve control rather than allowing it to become an uncontrolled point through which an attacker can obtain broad access.