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

GoogleAuthLibraryCallCredentialsTest to allow both old and new behavior from google-auth-library-java #8099

Merged
merged 1 commit into from Apr 19, 2021

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 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