We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am verifying apple login and verifying token on server side. I am following this doc for reference: https://styrk.medium.com/handle-apple-sign-in-on-the-server-ruby-on-rails-78f0d3b4991d
But when I call jwk = JWT::JWK.import I get error "NameError: uninitialized constant JWT::JWK"
jwk = JWT::JWK.import
I am also following this gem readme file and getting same error when I run jwk = JWT::JWK.new(OpenSSL::PKey::RSA.new(2048)) in console
jwk = JWT::JWK.new(OpenSSL::PKey::RSA.new(2048))
I am also doing require 'jwt' in console.
Thanks
The text was updated successfully, but these errors were encountered:
Hello. What version of the jwt gem are you using?
Sorry, something went wrong.
jwt (1.5.6)
Think that is the issue. The JWK features were added in version 2.2.0 (i think)
ok, thanks! will try with this version and update it here.
Closing this. The JWK features were not present in 1.5.6.
No branches or pull requests
Hi,
I am verifying apple login and verifying token on server side. I am following this doc for reference:
https://styrk.medium.com/handle-apple-sign-in-on-the-server-ruby-on-rails-78f0d3b4991d
But when I call
jwk = JWT::JWK.import
I get error "NameError: uninitialized constant JWT::JWK"I am also following this gem readme file and getting same error when I run
jwk = JWT::JWK.new(OpenSSL::PKey::RSA.new(2048))
in consoleI am also doing require 'jwt' in console.
Thanks
The text was updated successfully, but these errors were encountered: