Giter Club home page Giter Club logo

Comments (8)

icecoldmax avatar icecoldmax commented on July 28, 2024 2

Any chance you could publish the new version to rubygems? We're coming across issues where rest-client is incompatible with Rails 5.1.1.

from ruby-auth0.

eladg avatar eladg commented on July 28, 2024

can someone confirm the issue? if Ruby version 2.4.0 is not support which version is??? it's possible that the last supported version was 2.0.0 which makes this Gem unusable.

cc: @hzalaz, @ignaciojonas, @mgonto ?

(ps. Sorry for "demanding" answers, my team and I would really like to consider Auth0 as a platform and this issue is blocking us!)

from ruby-auth0.

chenkie avatar chenkie commented on July 28, 2024

Hey @eladg, we're looking into this now :)

from ruby-auth0.

eladg avatar eladg commented on July 28, 2024

If you guys couldn't recreate, it's because the Ruby version that you're using was compiled/binded with OpenSSL version previous to 1.1.0. You can check ruby's OpenSSL version by running:

elad:~$ irb
2.4.0 :001 > require 'openssl'
 => false
2.4.0 :002 > OpenSSL::OPENSSL_LIBRARY_VERSION
 => "OpenSSL 1.0.1i 6 Aug 2014"

When building ruby most build methods will use the operation system's OpenSSL version (which vary a lots!). I really don't need to explain the issue more then it was already explained by the Gem you guys are using to perform HTTP calls, over here: rest-client/rest-client#569

Honestly all that you guys need to do is update rest-client to a working version.

from ruby-auth0.

hzalaz avatar hzalaz commented on July 28, 2024

@eladg thanks for the heads up and we know of that since most of our devs use macOS and Apple ships an old OpenSSL so thats the reason is not reproducible. Since changing the OpenSSL version in macOS is not the best thing to do we need to test it using Docker (or another machine).

While doing waiting for this there is a PR with the update of the version #87. The update seems to be seamless but since they bumped the major version is something we need to test thoroughly to avoid introducing hidden issues. (Reading the CHANGELOG of rest-client the big reason to bump was dropping ruby 1.9 which we don't support).

If you can give it a spin from GH @eladg it will be appreciated.

from ruby-auth0.

eladg avatar eladg commented on July 28, 2024

Thanks for the update @hzalaz, we had to move forward with other solution (using the https version of the same management api)... so for now we are not using the gem. Might give it a try sometime soon... although I'm pretty certain that's the only updated that was needed.

cheers 🍺

from ruby-auth0.

adrianchung avatar adrianchung commented on July 28, 2024

@hzalaz Things are looking fine on my end with PR #87 . The only caveat was I had to set provider_ignores_state = true in my OmniAuth auth0 provider as described in auth0/omniauth-auth0#49.

from ruby-auth0.

lobo avatar lobo commented on July 28, 2024

@adrianchung just merged #87 . Closing this. If there are still remaining issues, please do let me know in this same thread (and feel free to reopen if needed).

from ruby-auth0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.