From 948b037378045987278c3be38fe7465159b36d50 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 4 Nov 2024 15:21:13 -0800 Subject: [PATCH] fix: Use `universe-domain` instead of `universe_domain` as the MDS endpoint Environments will support both endpoints for the foreseeable future. Closes b/339453829 --- Src/Support/Google.Apis.Auth/OAuth2/GoogleAuthConsts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Support/Google.Apis.Auth/OAuth2/GoogleAuthConsts.cs b/Src/Support/Google.Apis.Auth/OAuth2/GoogleAuthConsts.cs index 98dda9c45c0..0857b61214e 100644 --- a/Src/Support/Google.Apis.Auth/OAuth2/GoogleAuthConsts.cs +++ b/Src/Support/Google.Apis.Auth/OAuth2/GoogleAuthConsts.cs @@ -57,7 +57,7 @@ public static class GoogleAuthConsts private const string ComputeTokenUrlSuffix = "/computeMetadata/v1/instance/service-accounts/default/token"; private const string ComputeOidcTokenUrlSuffix = "/computeMetadata/v1/instance/service-accounts/default/identity"; private const string ComputeDefaultServiceAccountEmailSuffix = "/computeMetadata/v1/instance/service-accounts/default/email"; - private const string ComputeUniverseDomainUrlSuffix = "/computeMetadata/v1/universe/universe_domain"; + private const string ComputeUniverseDomainUrlSuffix = "/computeMetadata/v1/universe/universe-domain"; /// The Compute Engine authorization token server URL /// IP address instead of name to avoid DNS resolution