pub async fn discover(
http_service: &BoxCloneSyncService<Request<Bytes>, Response<Bytes>, Box<dyn Error + Send + Sync>>,
issuer: &str,
) -> Result<VerifiedProviderMetadata, DiscoveryError>
Available on crate feature
experimental-oidc
only.Expand description
Fetch the provider metadata and validate it.
ยงErrors
Returns an error if the request fails or if the data is invalid.