Class OidcDiscovery
java.lang.Object
io.fluxzero.idp.client.OidcDiscovery
Fetches and caches OIDC discovery documents for configured issuers.
Discovery is part of the production trust chain: the advertised issuer must match the configured issuer before endpoints are accepted. The local stub IDP exposes the same metadata shape so applications can use the same client code in local tests and production.
-
Method Summary
Modifier and TypeMethodDescriptionstatic OidcDiscoveryDocumentDiscovers and caches metadata for an issuer.
-
Method Details
-
discover
Discovers and caches metadata for an issuer.- Parameters:
issuer- configured issuer URL- Returns:
- validated discovery metadata
-