Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Universe Domain Resolution #1745

Merged
merged 3 commits into from
Feb 1, 2024
Merged

Conversation

danielbankhead
Copy link
Contributor

Additionally:

  • Expose getUniverseDomainFromMetadataServer

🦕

@danielbankhead danielbankhead requested review from a team as code owners January 31, 2024 22:24
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jan 31, 2024
@@ -672,6 +667,10 @@ export class GoogleAuth<T extends AuthClient = JSONClient> {
): JSONClient {
let client: JSONClient;

// user's preferred universe domain
const preferredUniverseDomain =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a huge fan of this pattern, however the existing .fromJSON pattern makes it difficult to add preferred options. We should consider a refactor to [AuthClient].fromJSON(json, overrrides) later

@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jan 31, 2024
@danielbankhead danielbankhead merged commit a4f9f9c into main Feb 1, 2024
18 checks passed
@danielbankhead danielbankhead deleted the fix-universe-domain-resolution branch February 1, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants