Pcornel
Identity · Single Sign-On & Federation

Federation

Cheat sheet · https://pcornel.dk/topic.php?topic=4492

Back to the Topic

Answer

Federation is a trust between an identity provider and service providers, or between organizations, so users authenticate at home and access partner applications without separate accounts.

Remember

  • Trust is configured with metadata and certificates.
  • Certificate rollover must be coordinated.
  • Users authenticate at home.

First checks

  • Federation trusts list — partners
  • curl -s https://<idp>/.well-known/openid-configuration — OIDC metadata
  • curl -s https://<idp>/FederationMetadata/2007-06/FederationMetadata.xml | head — SAML/WS-Fed metadata

Verify in this order

home IdP → signed assertion → relying party

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=4492

Confirmation

Confirm action

Continue?