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: Set the Quota Project ID only for ADC human accounts #2761

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

lahirumaramba
Copy link
Member

@lahirumaramba lahirumaramba commented Nov 5, 2024

  • The quota project id should only be set for Application default credentials with human accounts.
  • The SDK will use the quota project id found in credentials (through google-auth-client).
  • GOOGLE_CLOUD_QUOTA_PROJECT overrides the project id found in credentials.

This PR fixes #2658

@lahirumaramba lahirumaramba added release-note release:stage Stage a release candidate labels Nov 5, 2024
@lahirumaramba lahirumaramba force-pushed the lm-fix-quotaproject branch 2 times, most recently from 302d0d7 to 6c0657b Compare November 7, 2024 22:34
@lahirumaramba lahirumaramba changed the title fix: Set the Quota Project ID for ADC human accounts fix: Set the Quota Project ID only for ADC human accounts Nov 7, 2024
Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@lahirumaramba lahirumaramba merged commit 4ee1bb2 into master Nov 8, 2024
8 checks passed
@lahirumaramba lahirumaramba deleted the lm-fix-quotaproject branch November 8, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:stage Stage a release candidate release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading firebase-admin requires additional serviceUsageConsumer permissions
2 participants