5.3 Federated Identity

CISSP Domain 5 Β· Identity and Access Management

5.3 Federated Identity

Federated identity allows one organisation or security domain to rely on identity information established by another trusted domain.

Instead of creating a completely separate authentication system for every external service, an organisation can authenticate its users through a trusted Identity Provider and allow third-party services to rely on the resulting identity information.

πŸͺͺ

Authenticate

The Identity Provider establishes the user's authenticated identity.

WHO ARE YOU?
🀝

Trust

Another service accepts identity information from the trusted provider.

FEDERATION
🎯

Authorise

The receiving service decides what the authenticated identity may do.

LOCAL ACCESS DECISION
CISSP 5.3 Scope

Federated Identity with a Third-Party Service

The CISSP objective considers federation across three deployment contexts.

On-Premise

Federation involving systems hosted within traditional organisational infrastructure.

Cloud

Federation between organisational identities and cloud or SaaS services.

Hybrid

Federation spanning on-premise and cloud identity or application environments.

5.3 Scope

ON-PREMISE Internal infrastructure
CLOUD External / cloud services
HYBRID Both connected together

The Big Idea

Federation separates:

who authenticates the identity

from:

who provides the service.

πŸ‘€ User β†’ Identity Provider
Identity Provider β†’ Authenticates User
Identity Provider β†’ Assertion / Identity Token
Assertion / Token β†’ Third-Party Service
Third-Party Service β†’ Validates Trust
Validated Identity β†’ Local Authorization

Federation Flow

AUTHENTICATE At the trusted identity provider
ASSERT Identity information
VALIDATE At the relying service
AUTHORISE Locally

Authenticate β†’ Assert β†’ Validate β†’ Authorise

πŸ‘₯ Federation Participants Know who performs each function
User / Subject

The person whose identity is being authenticated and represented across the federation.

Identity Provider - IdP

Authenticates the user and provides trusted identity information to another system.

Service Provider - SP

A term commonly used with SAML for the service that consumes the federated identity assertion.

Relying Party - RP

A system that relies on identity information supplied by another trusted party.

Credential Service Provider - CSP

NIST terminology for an entity that manages subscriber accounts, authenticators and related identity services.

OpenID Provider - OP

OpenID Connect terminology for an authorization server capable of authenticating users and supplying identity information to relying parties.

Terminology varies between technologies

The underlying architectural question remains:

who establishes identity, and who trusts that result?

Critical Distinction

Identity Provider vs Relying Party

Identity Provider

Authenticates the user.

Produces identity information that another system can validate.

PROVES / ASSERTS

Relying Party

Receives and validates the trusted identity information.

Then determines what the identity may access locally.

TRUSTS / CONSUMES

Federation Roles

IdP "I authenticated Alice."
RP / SP "I trust that assertion."
πŸ”‘ Federation Does Not Transfer the Password The user's primary credential can remain with the Identity Provider

One major benefit of federation is that the relying service does not necessarily need to collect the user's primary authentication credential.

User Password / Passkey β†’ Identity Provider
Identity Provider β†’ Authentication Result
Authentication Result β†’ Third Party
Federation β‰  send the user's password to every application

The third-party service can rely on an assertion or token from the trusted identity provider instead.

Assertions, Claims & Tokens

Assertion

A statement from a trusted identity system containing information about a subject and authentication event.

Claim

A piece of information asserted about an identity.

User ID Email Department Role
Token

A data structure used to communicate identity or authorization information between systems.

Example identity information

The Identity Provider may communicate that:

  • the subject identifier is 381927;
  • the user authenticated successfully;
  • the user's department is Finance;
  • the user's corporate email is alice@example.com.

The receiving service decides which of those attributes matter to its own access policy.

Federation Data

ASSERTION / TOKEN The package
CLAIMS The statements inside
πŸ“¦ Attribute & Claim Minimisation Share only the identity information the service requires

Federation can transmit identity attributes to external services.

That does not mean every available identity attribute should be shared.

SaaS example

A training application may require:

Name Employee ID Email

It may not need:

Date of Birth Home Address Payroll Details
Federation introduces a data-sharing decision as well as an authentication decision

Federated Claims

SHARE What the service needs
NOT Everything the IdP knows
Federation Protocol

SAML 2.0

Security Assertion Markup Language - SAML - is an XML-based standard used to exchange authentication and authorization-related information between security domains.

It is strongly associated with enterprise browser-based federation and Single Sign-On.

πŸ‘€ User β†’ Service Provider
Service Provider β†’ Identity Provider
Identity Provider β†’ Authenticate User
Identity Provider β†’ SAML Assertion
Service Provider β†’ Validate Assertion
Valid Assertion β†’ Create Application Session

SAML

IdP Authenticates
ASSERTION Carries identity information
SP Consumes assertion
πŸ“œ SAML Assertions Trusted XML statements about the subject

SAML assertions can communicate information such as:

Subject Identity Authentication Event Authentication Context Attributes Conditions

Important Validation

Issuer

Was the assertion issued by the expected trusted Identity Provider?

Signature

Can the receiving service verify the integrity and authenticity of the assertion?

Audience

Was the assertion intended for this service?

Validity

Is the assertion being used within its permitted time conditions?

Recipient / Destination

Is the assertion being delivered to the correct endpoint?

Replay Protection

Could an intercepted assertion be improperly reused?

Receiving an assertion is not enough. The relying service must validate it.
✍️ Signing vs Encrypting Federation Data Integrity/authenticity and confidentiality solve different problems
Digital Signature

Helps the recipient verify who issued the assertion or token and whether it has been modified.

AUTHENTICITY + INTEGRITY

Encryption

Protects the contents from unauthorised reading.

CONFIDENTIALITY

Signed β‰  secret

A digitally signed assertion may still be readable unless its contents are separately encrypted or protected by the surrounding transport and architecture.

Encrypted β‰  trusted issuer

Confidentiality alone does not prove who generated the identity information.

Signature vs Encryption

SIGN Who sent it + unchanged?
ENCRYPT Who can read it?
Modern Federation

OpenID Connect - OIDC

OpenID Connect adds an identity layer on top of OAuth 2.0.

It allows a client - called a Relying Party - to verify the identity of an end user based on authentication performed by an OpenID Provider.

πŸ‘€ User β†’ Relying Party
Relying Party β†’ OpenID Provider
OpenID Provider β†’ Authenticate User
Authentication Result β†’ ID Token
Relying Party β†’ Validate ID Token

OIDC

OP Authenticates user
ID TOKEN Identity information
RP Relies on identity
πŸͺͺ OIDC ID Token Identity is not the same as API authorization

OpenID Connect uses an ID Token to communicate information about the authenticated user and authentication event to the relying party.

Important Claims Can Include

Issuer Subject Audience Expiration Authentication Time
ID Token = identity

Its purpose is different from an OAuth access token used to access a protected resource.

OIDC Token Distinction

ID TOKEN Who authenticated?
ACCESS TOKEN Access protected resource
Important CISSP Distinction

OAuth 2.0

OAuth 2.0 is fundamentally an authorization framework.

It allows a client to obtain limited access to protected resources without requiring the resource owner to give the client their primary credentials.

Resource Owner β†’ Authorizes Client
Authorization Server β†’ Issues Access Token
Client β†’ Presents Access Token
Resource Server β†’ Allows Permitted Access
OAuth = delegated authorization.

OpenID Connect = authentication / identity layer built on OAuth.

🎟️ OAuth Roles Understand who owns, requests and serves the resource
Resource Owner

Entity capable of granting access to the protected resource.

Client

Application requesting access to the protected resource.

Authorization Server

Issues access tokens after appropriate authorization.

Resource Server

Hosts protected resources and accepts appropriate access tokens.

Example

A photo-printing application asks permission to read selected photos from a cloud-storage service.

The user authorizes limited access without giving the photo-printing application their cloud-storage password.

Must-Know Comparison

SAML vs OpenID Connect vs OAuth

TechnologyPrimary PurposeThink
SAML 2.0Federated authentication / identity assertionsEnterprise federation and SSO
OpenID ConnectAuthentication and identityWho is the user?
OAuth 2.0Delegated authorizationWhat resource may this client access?

Protocol Memory Aid

SAML Federated enterprise identity
OIDC Authentication / identity
OAUTH Authorization

OIDC = WHO Β· OAuth = WHAT ACCESS

πŸͺ™ JSON Web Token - JWT A token format, not an authentication protocol by itself

JWT is a compact format for representing claims between parties.

It is commonly used in modern identity and authorization systems.

JWT β‰  OAuth

OAuth is an authorization framework.

JWT is a token format that can be used within many different systems.

JWT β‰  OpenID Connect

OpenID Connect is an identity protocol.

Its ID Token is represented as a JWT.

JWT

FORMAT Claims container
NOT An authentication system by itself
Core Architecture

Establishing Federation Trust

Federation works because the relying system knows which identity provider it trusts and how to validate information received from it.

Issuer Identity

Define which Identity Provider is trusted.

Cryptographic Keys

Allow assertions or tokens to be cryptographically validated.

Endpoints

Configure legitimate authentication, redirect and assertion-consumer locations.

Metadata

Exchange configuration and trust information between federation participants.

Audience

Define which service the assertion or token is intended for.

Claims / Attributes

Agree which identity information is exchanged and how it is interpreted.

Federation Trust

WHO ISSUED? Issuer
SIGNED? Cryptographic validation
FOR WHOM? Audience
WHEN? Validity
WHAT CLAIMS? Identity data
βš™οΈ Federation Metadata Configuration itself is security-sensitive

Federation participants need trusted information about each other's configuration.

Entity Identifier Endpoints Signing Certificates / Keys Supported Capabilities Redirect Locations
Example

A service is configured to trust a signing certificate belonging to the corporate Identity Provider.

The Identity Provider rotates that certificate.

Federation processes must ensure that trusted configuration is updated safely so authentication does not fail or start trusting an incorrect key.

Trust configuration has a lifecycle too
βœ… Validate Before Trusting Never treat an assertion or token as trusted merely because it exists
Issuer β†’ Expected?
Signature β†’ Valid?
Audience β†’ Meant for us?
Time β†’ Still valid?
Context β†’ Expected transaction?
Claims β†’ Acceptable and understood?
Federation changes where authentication occurs. It does not remove validation.
Deployment Model 1

On-Premise Federation

Federation can occur between systems located within or across traditional organisational data-centre environments.

Corporate User β†’ On-Prem Identity Provider
Identity Provider β†’ Federated Assertion
Assertion β†’ Partner / Internal Application

Considerations

Identity Infrastructure Availability Key Protection Internal Network Trust Legacy Applications Federation Gateways Lifecycle Management
Deployment Model 2

Cloud Federation

Cloud federation commonly allows an organisation to use centrally managed corporate identities with external SaaS and cloud platforms.

Employee β†’ Corporate Identity Provider
Corporate IdP β†’ SAML / OIDC Federation
Federation β†’ SaaS / Cloud Service

Benefits

Central Authentication Policy Corporate MFA Fewer Separate Passwords Central User Lifecycle Consistent Identity

Risks

Third-Party Trust Attribute Exposure IdP Compromise Token Theft Misconfiguration Provider Availability
Deployment Model 3

Hybrid Federation

Hybrid identity connects traditional on-premise identity infrastructure with cloud identity and application environments.

On-Prem Directory ↔ Cloud Identity Platform
Identity Platform β†’ On-Prem Applications
Identity Platform β†’ Cloud Applications
Identity Platform β†’ Third-Party SaaS
Hybrid identity introduces dependencies in both directions

Security architects should understand where the authoritative identity originates, how identity data is synchronised or federated and what happens when either side becomes unavailable.

πŸ”„ Identity Synchronisation vs Federation Copying identity data and trusting authentication are different things
Synchronisation

Identity data is copied or synchronised between systems or directories.

Federation

One system relies on identity or authentication information produced by another trusted system.

Sync vs Federation

SYNC Copy identity information
FEDERATE Trust identity information
Directory synchronisation β‰  federation by itself
⏱️ Just-in-Time Provisioning Create the local account representation when first required
User β†’ Authenticates at IdP
Identity Assertion β†’ SaaS Application
No Existing Local Account β†’ Create User Representation
Attributes β†’ Assign Appropriate Access
JIT provisioning solves creation - not necessarily removal

Organisations must still ensure that access is removed appropriately when the user leaves or no longer requires the service.

JIT Federation

FIRST LOGIN Trusted identity arrives
CREATE Local representation
AUTHORISE According to policy
♻️ Federated Identity Lifecycle Access must disappear when trust or business need ends
Join β†’ Create Identity
Federate β†’ Enable Third-Party Access
Role Change β†’ Update Attributes / Access
Leave β†’ Disable Identity
Third Party β†’ Remove Residual Access
Risk

An employee leaves the organisation.

Their corporate identity is disabled immediately.

However, a third-party SaaS account created through federation still exists with a separate local password.

The organisation must understand whether local access paths remain after federation ends.

Deactivate the identity AND understand what remains at the relying party.
πŸ”“ Federated Access vs Local Accounts Alternative authentication paths can bypass central identity controls

A third-party service may support both:

Federated Corporate Login Local Username / Password
Example

Corporate federation requires:

MFA + managed device.

The SaaS application also allows an administrator to log in using:

a permanent local password without MFA.

The weaker local path can undermine the stronger federated authentication architecture.

Federation Security

STRONG FEDERATION Can still be bypassed by
WEAK LOCAL LOGIN Protect every access path

Federation Does Not Eliminate Authorization

The Identity Provider establishes identity.

The relying service still needs to determine:

Which Application? Which Role? Which Data? Which Actions? Which Administrative Rights?
Example

Two users authenticate through the same corporate Identity Provider.

One is a: standard employee.

The other is: Finance Administrator.

The SaaS application can trust both identities while assigning very different permissions.

Federation

IdP WHO
RP / SP WHAT ACCESS
πŸ—ΊοΈ Attribute & Role Mapping Identity data must be interpreted consistently

Federated services often use identity attributes to determine local roles or permissions.

IdP Attribute β†’ department = Finance
Relying Party Mapping β†’ Finance User Role
Misconfiguration

The IdP sends:

role = employee

The SaaS application incorrectly maps the value to:

administrator.

Authentication can work perfectly while authorization is dangerously wrong.

Correct identity + incorrect mapping = incorrect access
Session Management

Federation Creates More Than One Session

Federated access may involve separate sessions at the Identity Provider and relying service.

User β†’ IdP Session
Federation β†’ Relying Party Session
Logout issue

A user logs out of the Identity Provider.

The third-party application's own session may still remain active depending on the architecture and logout implementation.

Logout is a session-management problem as well as an identity problem
🟒 Identity Provider Availability Central identity can become a central dependency

Federation centralises authentication.

This can improve security and consistency, but it also makes the Identity Provider highly important to availability.

Scenario

One corporate Identity Provider authenticates access to:

Email HR CRM Cloud Administration Collaboration

The Identity Provider fails.

Multiple unrelated applications may become inaccessible simultaneously.

Federation Trade-Off

CENTRALISE Authentication
CONCENTRATE Security + availability dependency
Security Scenario

The Identity Provider Is Compromised

Assume an attacker gains control of a trusted Identity Provider.

Attacker β†’ Controls IdP
Compromised IdP β†’ Produces Trusted Identity Information
Relying Services β†’ Trust IdP
The trust relationship becomes the attack path

A system that can assert identities to many applications is a particularly high-value security asset.

Federation reduces distributed authentication - but increases the importance of protecting the central trust authority.
πŸ”‘ Signing-Key Compromise Trust frequently depends on cryptographic verification

Federation participants often use cryptographic signatures to establish trust in assertions and tokens.

Scenario

An attacker obtains a federation signing key.

Depending on the architecture, they may be able to produce cryptographically valid identity information that appears to originate from the trusted issuer.

Security Requirements

Protect Private Keys Rotate Keys Safely Monitor Key Use Revoke Compromised Trust Update Relying Parties
Protect federation signing keys like high-value authentication infrastructure.
🎟️ Token Theft & Replay Attackers may target the result of authentication rather than the password

Once authentication succeeds, tokens and sessions can become valuable attack targets.

User β†’ Strong MFA
Authentication β†’ Valid Token / Session
Attacker β†’ Steals Token
Stolen Token β†’ Attempts Replay
MFA can protect initial authentication while an attacker targets the resulting session or token

Important Defences

TLS Short Validity Audience Restriction Secure Token Storage Replay Protections Session Monitoring
β†ͺ️ Redirect & Endpoint Security Federation depends on messages arriving at the correct places

Modern federation flows frequently redirect users between services and identity systems.

Incorrect or overly permissive redirect configuration can allow authentication information to be sent somewhere it was never intended to go.

Example

A client accepts arbitrary redirect destinations supplied by the requester.

An attacker attempts to manipulate the flow so authentication information is returned to an attacker-controlled location.

Trust the correct issuer, endpoint and destination
Third-Party Risk

Federation Is a Security Relationship

Establishing federation with another organisation or service creates an ongoing trust relationship.

Identity Assurance

Is the partner's identity process strong enough for the intended service?

Authentication Strength

Which authentication methods protect the identities?

Key Management

How are federation signing and encryption keys protected and rotated?

Attribute Handling

Which identity information is exchanged and how is it protected?

Availability

What happens if the partner identity service becomes unavailable?

Incident Response

How will participants respond if the trust relationship is compromised?

Lifecycle

How are identities and access removed when they are no longer required?

Monitoring

Can anomalous federation events be detected?

Do not ask only "Can these systems federate?"

Ask: "Should these systems trust each other, and under what conditions?"

Practical Scenario

Corporate Employees Access a SaaS Platform

1️⃣ Employee β†’ Opens SaaS Application
2️⃣ SaaS β†’ Redirects to Corporate IdP
3️⃣ IdP β†’ Authenticates Employee
4️⃣ MFA β†’ Corporate Authentication Policy
5️⃣ IdP β†’ Issues Trusted Identity Information
6️⃣ SaaS β†’ Validates Issuer & Token / Assertion
7️⃣ Attributes β†’ Determine Local Role
8️⃣ SaaS β†’ Creates Local Session
The SaaS provider does not need the employee's corporate password.
Business Partner Scenario

Partner Organisation Access

Organisation A allows employees from Organisation B to access a shared business application.

Without Federation

Organisation A creates and maintains separate accounts and passwords for Organisation B's employees.

With Federation

Organisation B authenticates its own employees.

Organisation A's application trusts approved identity assertions from Organisation B.

But who manages leavers?

Organisation A now partly depends on Organisation B correctly managing its workforce identities and promptly reflecting changes in the federation relationship.

Hybrid Scenario

On-Prem Identity + Cloud Applications

HR System β†’ Employee Created
On-Prem Directory β†’ Identity Established
Hybrid Identity β†’ Cloud Identity Platform
Cloud Identity β†’ SaaS Federation
Employee Leaves β†’ Identity Disabled
Lifecycle β†’ Cloud Access Removed
Understand the authoritative source

Hybrid environments can contain several copies or representations of an identity. Architects need to understand which system is authoritative and how changes propagate.

πŸ”€ Federation Broker Intermediate between multiple identity and service domains

A federation broker can intermediate trust between multiple identity providers and relying services.

IdP A β†˜ Federation Broker
IdP B β†’ Federation Broker
IdP C β†— Federation Broker
Broker β†’ Multiple Services
Broker simplifies trust relationships but becomes another critical trust component
πŸŽ“ CISSP Scenarios Recognise the federation principle
Scenario 1

A cloud application relies on the customer's corporate authentication service to identify employees.

Which concept?

Federated identity.

Scenario 2

A corporate identity system authenticates an employee and issues identity information to another service.

Which role?

Identity Provider.

Scenario 3

A SaaS application accepts trusted identity information from the organisation's IdP.

Which role?

Relying Party / Service Provider.

Scenario 4

An enterprise browser application receives an XML-based identity assertion from an IdP.

Which technology is likely involved?

SAML.

Scenario 5

A modern web application receives an ID Token after authentication by an OpenID Provider.

Which protocol?

OpenID Connect.

Scenario 6

A third-party application is granted limited access to an API without receiving the user's password.

Which framework?

OAuth 2.0.

Scenario 7

Management describes OAuth 2.0 as primarily an authentication protocol.

Is that precise?

No. OAuth is fundamentally an authorization framework.

Scenario 8

Authentication functionality is required on top of OAuth 2.0.

Which standard is specifically designed for this?

OpenID Connect.

Scenario 9

An OIDC client receives information representing the authenticated user's identity.

Which token is particularly relevant?

ID Token.

Scenario 10

An OAuth client presents a token to access a protected API.

Which token?

Access token.

Scenario 11

A developer uses the terms ID Token and access token interchangeably.

What is wrong?

They serve different purposes: identity versus protected-resource access.

Scenario 12

A signed SAML assertion has been modified after issuance.

Which control should detect this?

Digital signature validation.

Scenario 13

A token is cryptographically valid but was issued by an identity provider the application does not trust.

Should it be accepted?

No. The issuer must also be trusted.

Scenario 14

A valid token was issued for Application A and is presented to Application B.

Which validation is particularly relevant?

Audience validation.

Scenario 15

An old assertion is captured and reused after it should no longer be accepted.

Which threat?

Replay.

Scenario 16

A SAML assertion has a valid signature but contains sensitive attributes in readable form.

What distinction matters?

Signing provides integrity/authenticity; encryption provides confidentiality.

Scenario 17

A third-party application receives every employee attribute even though it requires only name and corporate email.

Which principle should be applied?

Attribute / data minimisation.

Scenario 18

A service trusts an assertion saying the user is in the Finance department and maps that attribute to Finance permissions.

Which process?

Attribute / role mapping.

Scenario 19

The IdP authenticates the correct user, but the SaaS application mistakenly maps every employee to administrator.

Which component failed?

Local authorization / attribute mapping.

Scenario 20

A user accesses a federated application for the first time and a local account representation is created automatically.

Which concept?

Just-in-Time provisioning.

Scenario 21

A user account is automatically created through federation but never deleted when the employee leaves.

What is the concern?

JIT provisioning without effective deprovisioning.

Scenario 22

The organisation disables a former employee's corporate account, but the SaaS service still permits a separate local password.

Primary concern?

Alternative local authentication bypasses the federated lifecycle.

Scenario 23

Identity data is copied from an on-prem directory to a cloud directory.

Is this necessarily federation?

No. This may simply be identity synchronisation.

Scenario 24

A cloud service relies on authentication performed by another identity domain.

Which concept?

Federation.

Scenario 25

On-prem identity infrastructure is integrated with cloud identity and SaaS applications.

Which deployment model?

Hybrid identity.

Scenario 26

The central corporate IdP fails and users cannot access numerous unrelated SaaS applications.

Which concern?

Centralised identity-provider availability dependency.

Scenario 27

An attacker compromises the private signing key used by a trusted federation issuer.

Why is this serious?

The attacker may potentially create information that appears to originate from the trusted issuer.

Scenario 28

A user completes strong MFA legitimately but an attacker then steals the resulting authentication session.

Which lesson?

Strong authentication does not eliminate token and session theft.

Scenario 29

A third-party service allows arbitrary authentication-response redirect destinations.

Primary concern?

Authentication information may be redirected to an unintended recipient.

Scenario 30

An organisation federates authentication with a business partner.

The partner then suffers a major identity-system compromise.

Which principle?

Federation creates a transitive third-party trust risk.

Scenario 31

A user logs out of the corporate IdP but remains authenticated to a third-party application.

Which area should be examined?

Federated session and logout management.

Scenario 32

Multiple Identity Providers connect to multiple applications through a central intermediary.

Which architecture?

Federation broker.

CISSP Exam Perspective

Recognise the Clue Words

Authenticates User

Source of identity.

Identity Provider

Trusts Identity

Consumes assertion.

Relying Party / SP

XML Identity Assertion

Enterprise federation.

SAML

ID Token

Authentication / identity.

OpenID Connect

Delegated API Access

Limited authorization.

OAuth 2.0

Who Is the User?

Identity layer.

OIDC

What May Client Access?

Delegated access.

OAuth

Claims Container

Token format.

JWT

Who Issued Token?

Trust source.

Issuer

Who Is Token For?

Intended recipient.

Audience

Who Sent / Changed?

Integrity and authenticity.

Digital Signature

Who Can Read?

Confidentiality.

Encryption

Create Account on First Login

On-demand user creation.

JIT Provisioning

Copy Directory Information

Not automatically trust federation.

Synchronisation

Trust Authentication Elsewhere

Cross-domain identity.

Federation

On-Prem + Cloud

Mixed architecture.

Hybrid

Same Identity Across SaaS

Central trusted authentication.

Cloud Federation

IdP Down β†’ Apps Unavailable

Central dependency.

Availability Risk

IdP Compromised

Trusted assertions affected.

Federation Trust Risk

Correct User, Wrong Role

Identity succeeded.

Authorization Mapping Failure
⚠️ Common CISSP Mistakes Federation questions often test what each protocol actually does
Federation β‰  Password Sharing

The relying service can trust identity information without receiving the user's primary password.

IdP β‰  Service Provider

The IdP establishes authentication.

The service provider consumes the identity information.

Authentication β‰  Authorization

The IdP can correctly authenticate a user while the relying party still grants inappropriate permissions.

SAML β‰  OAuth

SAML is strongly associated with identity federation.

OAuth provides delegated authorization.

OAuth β‰  Authentication

OAuth 2.0 is fundamentally an authorization framework.

OIDC β‰  OAuth Alone

OpenID Connect adds an identity/authentication layer on top of OAuth 2.0.

ID Token β‰  Access Token

ID Tokens communicate authenticated identity.

Access tokens are used to access protected resources.

JWT β‰  Authentication Protocol

JWT is a format for representing claims.

Signed β‰  Encrypted

Signing addresses authenticity and integrity.

Encryption addresses confidentiality.

Valid Signature β‰  Valid Token

Issuer, audience, validity and other conditions still require validation.

Federation β‰  Synchronisation

Synchronisation copies identity information.

Federation establishes trust in identity information from another system.

JIT Provisioning β‰  Deprovisioning

Creating users automatically does not guarantee they will be removed correctly.

Federated Login β‰  Only Login Path

Local credentials may provide an alternative authentication path that requires separate protection.

Logout From IdP β‰  Guaranteed Logout Everywhere

Relying services may maintain their own sessions.

Central Identity β‰  Zero Risk

Centralisation improves consistency but increases the importance of the central Identity Provider.

Trusted Partner β‰  Unlimited Trust

Federation should transmit only appropriate attributes and support only the access required by the business relationship.

Quick Reference

If you see...Think...
Authenticates user for another serviceIdentity Provider
Consumes trusted identityRelying Party / Service Provider
Trusted statement about identityAssertion
Individual piece of identity informationClaim / Attribute
XML enterprise identity federationSAML 2.0
Authentication layer on OAuth 2.0OpenID Connect
Delegated authorizationOAuth 2.0
Identity token in OIDCID Token
Token for protected resourceAccess Token
Claims token formatJWT
Verify source and integrityDigital Signature
Protect token contentsEncryption
Which trusted party issued it?Issuer
Which service should accept it?Audience
Old assertion reusedReplay
Create account at first federated loginJIT Provisioning
Copy identity between directoriesSynchronisation
Trust authentication from another domainFederation
On-prem + cloud identityHybrid
IdP unavailableFederation Availability Risk
Compromised trusted signing keyFederation Trust Compromise
Correct identity mapped to wrong permissionsAuthorization / Attribute Mapping
Local password bypasses corporate IdPAlternative Authentication Path

Protocol Memory Aid

SAML Federated identity assertions
OIDC Authentication / identity
OAUTH Delegated authorization
JWT Claims token format

SAML = Federation Β· OIDC = WHO Β· OAuth = ACCESS Β· JWT = FORMAT

Federation Memory Aid

TRUST Identity Provider
AUTHENTICATE User at IdP
ASSERT Identity information
VALIDATE Issuer Β· signature Β· audience Β· time
AUTHORISE At relying service
REVOKE When trust ends

5.3 Master Memory Aid

WHO AUTHENTICATES? IdP / OP / CSP
WHO TRUSTS? SP / RP
WHAT TRAVELS? Assertion / token / claims
HOW TRUSTED? Keys Β· signatures Β· metadata
WHO IS IT FOR? Audience
WHAT ACCESS? Local authorization
HOW LONG? Validity + session
WHAT IF TRUST FAILS? Revoke / contain / recover

The Federation Architect's Questions

WHY? Why is federation required?
WHO? Which Identity Provider?
TRUST? Why should the RP trust it?
PROTOCOL? SAML Β· OIDC Β· other?
CLAIMS? What identity data is shared?
VALIDATE? Issuer Β· signature Β· audience Β· time?
ACCESS? How are claims mapped to authorization?
SESSION? How are sessions created and terminated?
FAILURE? What if the IdP is unavailable?
COMPROMISE? What if the IdP or signing key is compromised?
LEAVER? How is access removed?

Key Takeaways

Federated identity allows one security domain to rely on identity information established by another trusted domain.

CISSP 5.3 focuses specifically on federated identity with third-party services across on-premise, cloud and hybrid environments.

The Identity Provider authenticates the subject and provides trusted identity information.

The Service Provider or Relying Party consumes and validates that information.

Federation separates who authenticates the user from who provides the application or service.

Federation does not require the user's primary password to be shared with every relying service.

Assertions and identity tokens carry information about authenticated identities between federation participants.

Claims are individual statements about the identity, such as subject, email, department or other attributes.

Only identity attributes genuinely required by the relying service should be shared.

SAML is an XML-based federation standard commonly associated with enterprise identity federation and SSO.

SAML commonly involves an Identity Provider issuing an assertion that is validated by a Service Provider.

Assertion validation can include issuer, signature, audience, timing, destination and replay-related checks.

Digital signing and encryption perform different functions.

Signing supports authenticity and integrity. Encryption provides confidentiality.

OpenID Connect provides an identity and authentication layer built on top of OAuth 2.0.

In OpenID Connect, the OpenID Provider authenticates the user and the Relying Party consumes identity information.

The OIDC ID Token communicates information about the authenticated identity.

OAuth 2.0 is fundamentally a delegated authorization framework.

A useful CISSP distinction is: OIDC answers "who is the user?" while OAuth addresses delegated access to protected resources.

An OIDC ID Token and an OAuth access token serve different purposes and should not be treated as interchangeable.

JWT is a token format for representing claims and is not by itself an authentication protocol.

Federation trust can depend on issuer configuration, cryptographic keys, metadata, endpoints and agreed claims.

A token or assertion should be validated before it is trusted.

Important validation includes confirming the expected issuer, signature, intended audience and validity conditions.

On-premise federation allows identity trust between services associated with traditional organisational infrastructure.

Cloud federation allows organisations to use centrally managed corporate identity with SaaS and cloud providers.

Hybrid federation connects traditional on-premise and cloud identity environments.

Identity synchronisation and federation are not the same thing. Synchronisation copies identity information; federation establishes trust in identity information produced elsewhere.

Just-in-Time provisioning can create a local user representation when a federated identity first accesses a service.

JIT provisioning does not automatically solve deprovisioning.

Alternative local authentication methods can undermine centrally controlled federation if they provide a weaker route into the service.

Federation does not remove the relying party's responsibility for authorization.

Correct authentication combined with incorrect role mapping can still produce excessive access.

Federation can involve multiple sessions. Logging out from the Identity Provider does not necessarily guarantee that every relying-party session has also ended.

Centralised Identity Providers improve consistency but create important security and availability dependencies.

Compromise of a highly trusted Identity Provider can affect many relying services.

Federation signing keys are high-value security assets because relying systems use them to validate trusted identity information.

Attackers may target assertions, tokens and authenticated sessions rather than attempting to defeat the original authentication mechanism.

Third-party federation should be treated as an ongoing security relationship with appropriate governance, monitoring, lifecycle management and incident-response arrangements.

The central CISSP concept is: the IdP authenticates, trusted identity information crosses the trust boundary, the relying party validates it and then performs its own authorization decision.

πŸ“š Sources & Further Reading Federation, SAML, OpenID Connect and OAuth references