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鈥檒l 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
Member

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
Member 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
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.

None yet

2 participants