Cyberstudy
4.6 In progress

Federation

10 flashcards

Summary

Federation lets one organization trust identities issued by another, so users sign in with their home account to use a partner's or cloud provider's service. The service relies on claims from the user's identity provider instead of managing its own accounts.

In plain words

Federation lets you use one organization's login at another organization's service. The service provider trusts an identity provider (IdP) to vouch for you with a signed claim, so it doesn't need its own password for you.

Detailed explanation

  • Federation: A trust relationship that lets identities from one domain access resources in another.
  • Identity provider (IdP): The system that authenticates the user and issues claims about them.
  • Service provider (SP): The application that trusts the IdP and grants access based on its claims. Also called the relying party.
  • Claims-based identity: The SP makes authorization decisions from signed statements (claims) about the user, such as name, email and group.

Typical flow

  • 1. Request: The user opens the SP's application.
  • 2. Redirect: The SP sends the user to the IdP.
  • 3. Authenticate: The user signs in at the IdP, often with MFA.
  • 4. Assert: The IdP issues a signed token or assertion with claims.
  • 5. Validate: The SP checks the signature and grants access.
  • Benefits: Users keep one identity, the SP never handles passwords, and disabling the home account cuts off access everywhere.
  • Protocols: SAML, OpenID Connect and OAuth 2.0.

Important terms

taken from the text above
Federation
A trust relationship that lets identities from one domain access resources in another.
Identity provider (IdP)
The system that authenticates the user and issues claims about them.
Service provider (SP)
The application that trusts the IdP and grants access based on its claims. Also called the relying party.
Claims-based identity
The SP makes authorization decisions from signed statements (claims) about the user, such as name, email and group.

Examples & real-world scenarios

  • 'Sign in with Google' on a third-party site.
  • Partner staff using their own company logins on your portal.
  • The service provider redirecting you to your IdP to log in.

Scenario

A company gives suppliers access to an ordering portal. Instead of creating hundreds of accounts, it federates with the suppliers' identity providers, so leavers lose access when their own company disables them.

Common mistakes

  • Thinking the service provider sees your password. The IdP handles authentication.
  • Forgetting that federation depends on trust between the parties.

Practical skills

  • Draw the redirect flow between user, SP and IdP.

What I should remember

  • Federation: Cross-organization trust in identities.
  • Identity provider: Authenticates the user and issues claims.
  • Service provider: Trusts the IdP and grants access.
  • Benefit: Deprovisioning the home account removes access to all federated services.