Fetches an OpenID Connect discovery document and pairs it with a client secret.
The URL is used as given. A caller that accepts it from an untrusted source has to validate it first, because this function performs the request.
The OpenID Connect discovery URL.
The scopes to request.
The Google OAuth client secret, keyed snake_case.
A [scheme, credential] pair.
[scheme, credential]
Error When the request fails, the body is not a JSON object, or the configuration is incomplete.
Fetches an OpenID Connect discovery document and pairs it with a client secret.
The URL is used as given. A caller that accepts it from an untrusted source has to validate it first, because this function performs the request.