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

Require specific version of golang.org/x/oauth2 due to compatibility issue with Vault #14

Merged
merged 1 commit into from
Jan 13, 2021

Conversation

austingebauer
Copy link
Member

Description

This PR adds a specific version requirement for the golang.org/x/oauth2 dependency in order to prevent an incompatibility with Vault. The cause of the incompatibility is that Vault depends on go.etcd.io/etcd and the current version of golang.org/x/oauth2 in this library depends on google.golang.org/grpc v1.30.0. Those two libraries are currently incompatible. More details on the issue are available at etcd-io/etcd#12124.

Testing

I've tested that using this library with golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d works as expected when integrated into vault-plugin-auth-jwt. I've also tested that there are no longer compile-time issues when integrating the plugin into Vault.

Copy link
Collaborator

@jimlambrt jimlambrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Ty!

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

3 participants