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: adding default parameters to updated interfaces #1622

Merged
merged 7 commits into from
Oct 30, 2024
7 changes: 6 additions & 1 deletion google/auth/impersonated_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@


def _make_iam_token_request(
request, principal, headers, body, universe_domain, iam_endpoint_override=None
request,
principal,
headers,
body,
universe_domain=credentials.DEFAULT_UNIVERSE_DOMAIN,
iam_endpoint_override=None,
):
"""Makes a request to the Google Cloud IAM service for an access token.
Args:
Expand Down
2 changes: 1 addition & 1 deletion google/oauth2/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def call_iam_generate_id_token_endpoint(
signer_email,
audience,
access_token,
universe_domain,
universe_domain = credentials.DEFAULT_UNIVERSE_DOMAIN,
):
"""Call iam.generateIdToken endpoint to get ID token.

Expand Down