-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use auth DetectDefault over oauth2 FindDefaultCredentials (#909)
The new Google auth library should be used over the old oauth2 library. - DetectDefault should be used over the old FindDefaultCredentials to source ADC from the environment. - TokenProvider should be used over the old TokenSource - Use auth library's httptransport.NewClient to gain advantage of built-in universe domain checks This will help fix certain non-GDU paths as FindDefaultCredentials does not support self-signed JWTs.
- Loading branch information
1 parent
b5c249b
commit 52fef27
Showing
9 changed files
with
136 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.