Skip to main content

Module federation

Module federation 

Source
Expand description

JWKS fetch and cache for multi-issuer JWT verification.

FederationKeyResolver resolves external issuer URLs to Ed25519 verifying keys by fetching and caching JWKS (RFC 7517) documents.

§Rotation-aware key set (#1185)

The cache retains every usable Ed25519 key an issuer publishes, keyed by kid, so two keys published simultaneously during an overlap rotation both verify. A kid hint selects the preferred candidate; without one, the caller tries each. The resolver never collapses the published set to a positional singleton — that anti-pattern forecloses both overlap rotation and PQ-hybrid publication (#1183).

Structs§

FederationKeyResolver
Resolves external issuer URLs to Ed25519 verifying keys via JWKS.