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: read token_uri field from authorized user ADC JSON #1376

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jackwotherspoon
Copy link
Contributor

Authorized user type ADC credentials have token_uri hardcoded to "https://oauth2.googleapis.com/token". For GCP products such as Cloud Interconnect, customers can create their own custom token URI for authorization. Currently, custom token_uri does not work for authorized user type credentials because the value is hardcoded.

This PR checks if token_uri is set in the authorized user generated ADC json, otherwise defaults to regular token URI.

@jackwotherspoon jackwotherspoon self-assigned this Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant