You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while using the ruby version 2.3.5, I get this error:
2.3.5:010 > JWT.decode(token,nil,true,{algorithms: ['RS512'],jwks: jwk_loader})NoMethodError: undefinedmethod`set_key' for #<OpenSSL::PKey::RSA:0x0000000001e2c9e8> from /home/vagrant/.rvm/gems/ruby-2.3.5/gems/jwt-2.2.1/lib/jwt/jwk/rsa.rb:40:in `import' from /home/vagrant/.rvm/gems/ruby-2.3.5/gems/jwt-2.2.1/lib/jwt/jwk.rb:19:in `import'from/home/vagrant/.rvm/gems/ruby-2.3.5/gems/jwt-2.2.1/lib/jwt/jwk/key_finder.rb:19:in`key_for' from /home/vagrant/.rvm/gems/ruby-2.3.5/gems/jwt-2.2.1/lib/jwt/decode.rb:37:in `verify_signature' from /home/vagrant/.rvm/gems/ruby-2.3.5/gems/jwt-2.2.1/lib/jwt/decode.rb:26:in `decode_segments'from/home/vagrant/.rvm/gems/ruby-2.3.5/gems/jwt-2.2.1/lib/jwt.rb:28:in`decode' from (irb):10 from /home/vagrant/.rvm/rubies/ruby-2.3.5/bin/irb:11:in `<main>'
Can anyone please help me out with this? or can suggest me with a workaround?
The text was updated successfully, but these errors were encountered:
while using the ruby version 2.3.5, I get this error:
Can anyone please help me out with this? or can suggest me with a workaround?
The text was updated successfully, but these errors were encountered: