http.oidc.discover

http.oidc

discover(self) -> doc, err

Fetch the provider's discovery document

GET <issuer>/.well-known/openid-configuration. The document must be a JSON object whose issuer equals the configured one byte for byte (OIDC Discovery §4.3), with string authorization_endpoint, token_endpoint and jwks_uri; userinfo_endpoint is a string when present. The first good document is kept for the process lifetime; a failed fetch keeps nothing.