Lesson 5 of 15
Core MechanicsΒ·Lesson 5

πŸ” Trust Chain Resolution

The algorithm that fetches, assembles, and verifies a chain

Watch the Algorithm

Trust Chain Resolution is the process of fetching and assembling all the Entity Statements needed to build a complete chain from a leaf entity to a Trust Anchor.[1] The most common approach is bottom-up resolution, which follows authority_hints upward.

Step 1 of 11

1. Fetch Leaf's Entity Configuration

GETYou β†’ login.uni.edu/.well-known/openid-federation

Fetching leaf's Entity Configuration...

Three Ways to Resolve

Bottom-Up Resolution
Most Common
Section 17.2.1
Fetch the subject's Entity Configuration, read authority_hints, fetch superiors' Entity Configurations, use their federation_fetch_endpoint for Subordinate Statements, repeat until you reach a pre-trusted Trust Anchor. Then validate the chain and apply metadata policies.
Top-Down Discovery
Discovery / Enumeration
Section 17.2.2
Query the Trust Anchor's List endpoint to get subordinate Entity IDs, filter by entity_type, recursively list Intermediates' subordinates. Useful for enumerating all entities in a federation.
Resolve Endpoint
Shortcut
Section 8.3
Send the subject Entity ID and trust_anchor to a resolver's federation_resolve_endpoint. Get back pre-resolved metadata and the full trust chain in a single response.

Sources & References

  1. OpenID Federation 1.0, Section 10 β€” Resolving the Trust Chain and Metadata
  2. OpenID Federation 1.0, Section 17.2.1 β€” Bottom-Up Trust Chain Resolution
  3. OpenID Federation 1.0, Section 8.3 β€” Resolve Entity