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

rest-client 2.1.0 support #286

Closed
Fitzsimmons opened this issue Jul 26, 2021 · 4 comments · Fixed by #296
Closed

rest-client 2.1.0 support #286

Fitzsimmons opened this issue Jul 26, 2021 · 4 comments · Fixed by #296
Labels
feature request A feature has been asked for or suggested by the community

Comments

@Fitzsimmons
Copy link

Describe the problem you'd like to have solved

rest-client 2.1.0 was released in August 2019. The latest version of ruby-auth0 does not support it. This means that for projects that are already using the latest version of rest-client, the most recent supported version of ruby-auth0 is 4.8.0 (August 01, 2019)

Describe the ideal solution

The latest version of rest-client is supported.

Alternatives and current work-arounds

For users of the auth0 gem:

  • Stay on auth0 4.8.0 forever, missing out on any improvements
  • Downgrade rest-client to 2.0.x in our project
  • Switch to an alternative http client library in our project
  • Fork ruby-auth0 and implement rest-client 2.1.0 support ourselves
  • Abandon ruby-auth0 entirely

There are plenty of workaround options but they they have high development and/or maintenance costs relative to the benefits.

For auth0

  • Abandon rest-client in favour of Net::HTTP, eliminating the dependency on a gem that might have conflicts with gems already installed in client projects
@Fitzsimmons Fitzsimmons added the feature request A feature has been asked for or suggested by the community label Jul 26, 2021
@davidpatrick
Copy link
Contributor

Hey @Fitzsimmons we would love to support rest-client 2.1.0 in the library. There was a PR raised to bump the gem, but several tests were broken. I currently don't have bandwidth to resolve the issue, but I should have some time coming up soon to investigate what the issue was.

@allison-strandberg
Copy link

@davidpatrick, any updates on this? Thank you!

@davidpatrick
Copy link
Contributor

@allison-strandberg investigating this week! Thanks for the ping

@theirishpenguin
Copy link

Hi @davidpatrick, thanks for the fix. Would it be possible to push the 5.6.0 tagged release of auth0 to rubygems so that this restclient 2.1 update is available as an official version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants