Skip to content

Commit

Permalink
fix: Use universe-domain instead of universe_domain as the MDS en…
Browse files Browse the repository at this point in the history
…dpoint

Environments will support both endpoints for the foreseeable future.
Closes b/339453829
  • Loading branch information
amanda-tarafa committed Nov 4, 2024
1 parent 74ed40e commit 6b95462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Support/Google.Apis.Auth/OAuth2/GoogleAuthConsts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/// <summary>The Compute Engine authorization token server URL</summary>
/// <remarks>IP address instead of name to avoid DNS resolution</remarks>
Expand Down

0 comments on commit 6b95462

Please sign in to comment.