Concept Guides

OpenID Federation Trust Anchor

Raidiam enables Authorities and Organisations to create a Trust Framework based on the OpenID Connect Federation where Raidiam acts as a Trust Anchor.



What Federation Is

The OpenID Federation 1.0 specification outlines a mechanism that allows organisations and their technical resources, such as Identity Providers/Authorization Servers (OpenID Providers or OPs) and relying parties (RPs, i.e., applications or clients), to establish mutual trust without requiring a direct relationship. This trust is built through a trust chain, enabling the OP to accept OAuth/OIDC requests from RPs without the need for prior registration of the RP.



Federation participants, including identity providers, relying parties, intermediate authorities, and trust anchors, are collectively referred to as federation entities. Each federation entity is assigned a globally unique identifier known as an entity ID.

In the above diagram:

  • Trust Anchor: in this case, Raidiam, is an entity that represents a third party that all other parties (Organisation 1 and Organisation 2) agree to trust.
  • Organisation: can be represented by a number of different technical resources:
    • OpenID Provider (OP) -- Identity Provider / OAuth Authorisation Server
    • Resource Server (APIs)
    • Relying Party (RP) -- applications (client applications)

OPs and RPs are usually treated as Leaf Entities -- an Entity with no Subordinate Entities -- meaning there is no other entities between this entity and the Trust Anchor in the established trust hierarchy.

Trust Chain

To reflect the established trust, a Trust Chain is constructed - a sequence of Entity Statements -- JSON Web Tokens (JWTs) -- that represents the chain starting at the Leaf Entity(OP/RP) and ending in the Trust Anchor.



Entity Statements

With Raidiam used as the Trust Framework, Entity Statements are JSON Web Tokens (JWTs) issued by:

  • Leaf Entities (OPs/RPs): issue self-signed JWTs signed by the OPs/RPs private key. In the example below, note that because the JWT is self-signed, both the issuer and the subject point to the Leaf Entity.
JS

  • Trust Anchor: Raidiam issues a JWT that directly authorizes the Leaf Entity terminating the Trust Chain. The JWT is signed using the Anchor's (Raidiam's) private key.
JS


Trust Chain Resolution