Removed URL validation for google URLs in ADC files

This commit is contained in:
aeitzman
2023-02-06 10:29:14 -08:00
parent e07593a4c4
commit 45e2b9ca07
4 changed files with 8 additions and 168 deletions

View File

@@ -81,4 +81,9 @@
// same as the one obtained from the oauth2.Config returned from ConfigFromJSON or
// JWTConfigFromJSON, but the Credentials may contain additional information
// that is useful is some circumstances.
//
// Note that this library does not perform any validation on the token_url, token_info_url,
// or service_account_impersonation_url fields of the credential configuration.
// It is not recommended to use a credential configuration that you did not generate with
// the gcloud CLI unless you verify that the URL fields point to a googleapis.com domain.
package google // import "golang.org/x/oauth2/google"