Single Sign-On & Federation
Cheat sheet · https://pcornel.dk/topic.php?topic=4490
Answer
Single sign-on and federation let users log in once with a central identity provider and reach many applications, using SAML, OAuth 2.0 and OpenID Connect tokens instead of separate passwords for each app.
Remember
- The identity provider becomes a critical system.
- Tokens must be validated: issuer, audience, signature, expiry.
- Clock skew and certificate rollover break SSO.
First checks
- IdP application list — SSO apps
- Federation trust metadata — SAML/OIDC configs
- Sign-in logs — SSO success/fail
Verify in this order
user → IdP auth → token/assertion → app session
Where it usually breaks
First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4490