What is single sign-on (SSO)? Understand IdP and app sessions
SSO lets multiple services trust an authentication result from one identity system. One sign-in does not create one shared session or grant the same permissions in every app.
How one sign-in reaches multiple services
In federated SSO, an Identity Provider (IdP) authenticates the user, and each Relying Party (RP) verifies the result and creates its own app session. After signing in at RP-A, a user may visit RP-B without entering credentials again if the IdP session is still valid. RP-B receives a new response, verifies it, and creates a separate session.
| State | Held by | Meaning |
|---|---|---|
| IdP authentication session | Central identity provider | Authentication state and policy |
| RP-A app session | Service A | A's own session |
| RP-B app session | Service B | B's separate session |
| Account permissions | Each RP | Actions allowed in that app |
A successful IdP login does not automatically grant an app administrator role. Each RP maps received identifiers or attributes to an account and applies its own authorization policy.
Convenience and central dependency
SSO reduces the need to manage separate credentials for every service and helps centralize authentication methods and sign-in policy. An IdP outage can affect access to several apps, and compromise of a central account or administrator setting can spread across connected services. Review the connected-app inventory, protect IdP administrators, maintain recovery access, and plan for provider outages. Send each app only the attributes it needs for account linking and role decisions; do not grant app roles solely because the IdP authenticated the user.
Check logout per session
Logging out of an app may end only that RP session. The IdP session, sessions at other apps, or API tokens may remain. SAML 2.0 defines a Single Logout profile to propagate logout among participating services, but results depend on support and implementation. Browser-based logout can also be interrupted by user-agent behavior, so reaching a login screen does not prove that every session ended.
Use a test account at the IdP and two apps. Check whether (1) A rejects its old pages and API requests after logout; (2) the IdP session remains and silently signs the user in to another app; (3) supported single logout actually ends B and IdP sessions; and (4) suspension or departure revokes existing app sessions and credentials. Record results per protocol and product. If logout fails, revoke the app session directly and check IdP expiry and token-revocation controls.
NIST SP 800-63C-4 describes IdP authentication responses and RP session creation in federation. OpenID Connect and SAML have different message and session rules, so verify actual behavior against the applicable standard and product documentation. This article covers human web sign-in, not API token exchange or product-specific setup.
Sources
[NIST SP 800-63C-4: Federation](https://pages.nist.gov/800-63-4/sp800-63c.html)
[OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html)
[OASIS SAML 2.0 Profiles: Single Logout](https://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf)