pub async fn discover_token_endpoint(
issuer: &str,
) -> Result<String, ClientError>Expand description
Fetches {issuer}/.well-known/openid-configuration and returns its
token_endpoint.
ยงErrors
Returns a ClientError when the document cannot be fetched, is not
valid JSON, or omits token_endpoint.