Single Sign-On: How One Login Reaches Several Apps
Single sign-on, or SSO, lets someone use one account and its sign-in methods to access several participating applications. It lets those applications share authentication, the process of checking a claimed identity, so users don't have to complete an unrelated login at each service.
This is different from choosing the same password on separate websites. Those websites would still check their own passwords independently. In a common SSO arrangement called federation, an application accepts a verifiable identity result from another service.
The National Institute of Standards and Technology's SSO definition describes this shared account and its authentication methods, generally used through federation.
One Login, Several Apps: What Happens Behind the Scenes?
Follow the result, rather than the password
Suppose an employee opens a participating work application. In a federated sign-in, three distinct jobs take place:
- The identity provider checks the login. This is the service responsible for verifying the employee's sign-in evidence.
- The application checks the provider's result. It receives a verifiable statement about the authentication, often called an assertion, and checks that the statement is valid for its use.
- The application starts its own session. A session maintains the employee's signed-in interaction with that application.
The employee's password doesn't have to be handed to every application. The application verifies the identity provider's statement instead of checking the employee's sign-in method itself in that transaction.
When another participating application needs identity evidence, the shared sign-in arrangement can support that request too. The next app can accept the checked identity without receiving a copy of the password.
The federation guidance explains these roles and the separate sessions they create. That separation becomes important when the employee tries to do more than simply enter an app.
Recognized doesn't mean allowed to do everything
Authentication supplies evidence about identity. Authorization decides what that identity may do.
An employee might sign in successfully and still lack permission to view payroll records. The shared identity result doesn't erase the payroll application's access rules. Nor does belonging to an SSO arrangement promise access to every connected service.
An application can also require a fresher sign-in or stronger evidence for some functions. The phrase “single sign-on” describes the shared experience; it isn't a promise that the user will never see another authentication request.
Several applications now depend on the identity provider to check users correctly. That makes protecting the provider important across those services. The consequences of a compromise still depend on each application's checks and any additional protection it requires.
- Make a stolen password useless without the key in your hand.
- Sign in with a tap instead of typing a code.
- Protect Google, Microsoft, Apple and more than 1,000 other accounts.
Signing out has to reach the sessions that matter
The identity provider and each application manage separate sessions. Ending the provider's session needn't end an application's existing session unless the system supports coordinated sign-out and uses it.
That makes “I signed out of the main account” different from “every application has stopped accepting my session.” Password-change effects also depend on how the system handles existing sessions and account state.
Kerberos: How Tickets Take the Place of Repeated Passwords

Authentication Tickets: What Happens After the First Sign-In

Identity and Access Management: Who Gets to Do What?

QUOTE:
"Amateurs hack systems, professionals hack people."
