Skip to content
Wallet and Entity Collection draft updates
Documentation menu

Documentation

Use oidfed to establish federation trust around an existing application. Start with a feature guide when building a workflow; use the API reference when you need an exact option or return value.

What you need Start here
Enroll participants and operate a federation Federation participants
Discover an entity and decide whether to trust it Trust chains and discovery
Issue, publish, or rely on accreditation Trust Marks
Connect an OP, RP, OAuth client, or authorization server OIDC and OAuth
Add federation trust to a wallet ecosystem Wallet workflows
Look up a function, class, option, or type API reference
Upgrade an existing installation to v3 v3 migration guide
Contribute to this repository Contributing
Set up local development and tests Development, HTTPS tests, and conformance tests
Check the protocol packages before a release Package security checks
Prepare, publish, or resume package releases Releasing packages

The guides follow Campus Alliance, an academic-services federation, and Market Alliance, a loyalty-membership ecosystem. Each topic overview introduces its actors in an expandable example context. The names and .example addresses are fictional.

Choose one federation host per Entity Identifier: Leaf, Intermediate, or TrustAnchor. Compose protocol roles into it. The application supplies HTTPS serving, durable storage, key custody, and its OIDC/OAuth or wallet protocol engine. Serve federation endpoints connects the pieces.

Package references

Package Public API
@oidfed/crypto Engines, signing custody, keyrings and compact JWS utilities
@oidfed/core Statements, keys, chains, policies, endpoint clients, Trust Marks, and shared contracts
@oidfed/authority Trust Anchors, Intermediates, subordinate management, and storage
@oidfed/leaf Participant publication and composed federation services
@oidfed/oidc OIDC/OAuth roles and registration
@oidfed/wallet Wallet roles, attestations, and federation-backed request verification
View source on GitHub