Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

suztomo
Copy link
Contributor

@suztomo suztomo commented Apr 16, 2021

Fixes #8037 .

@ejona86 As discussed, this PR only updates the test. I cherry-picked your commit and added commit message on why we didn't upgrade the library for now.

google-auth-library-java:0.25.0 strips port and path parts in the
audience claim ("aud"). Updating the test to pass in both old
and new version of google-auth-library-java.

This commit does not upgrade google-auth-library-java because
it turned out that the upgrade involves the newer Guava version
(google-auth-library-java's dependency) failing with DexingNoClasspathTransform.
Details: grpc#8078 (comment)
It's technically possible to exclude the newer Guava, but it's a
good practice avoid excluding the newer version of a library.
@suztomo suztomo changed the title Allow both old and new behavior from google-auth-library-java GoogleAuthLibraryCallCredentialsTest to allow both old and new behavior from google-auth-library-java Apr 16, 2021
@ejona86 ejona86 requested a review from dapengzhang0 April 16, 2021 22:03
@ejona86 ejona86 added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Apr 16, 2021
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Apr 16, 2021
@ejona86 ejona86 merged commit 84dc564 into grpc:master Apr 19, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

grpc-auth's unit test fails with google-auth-library 0.25.X
4 participants