Accepts a OidcConfig or plain options.
Releases connections. Idempotent.
Unauthenticated liveness: GET <url>/.well-known/openid-configuration (healthy when the
discovery document answers 2xx). Never throws for an unhealthy or unreachable provider (only
CANCELLED and CONFIG).
Authenticated round trip with the configured access token (token): GET the provider's
userinfo_endpoint from discovery. Returns the latency in milliseconds; a rejected token
raises AuthenticationError, a provider without userinfo UnsupportedError.
OpenID Connect has no version endpoint: always UnsupportedError (CANCELLED once closed).
StaticfromBuilds a client from GROW_OIDC_* (and vendor) environment variables.
Client for OIDC.