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
JWT::DecodeError
nil
This raises no implicit conversion of nil into String (TypeError)
no implicit conversion of nil into String (TypeError)
require "bundler/inline" gemfile do gem "jwt", "2.2.1" end token = JWT.encode({}, "foo") JWT.decode(token, nil, true)
This raises No verification key available (JWT::DecodeError))
No verification key available (JWT::DecodeError))
require "bundler/inline" gemfile do gem "jwt", "2.1.0" end token = JWT.encode({}, "foo") JWT.decode(token, nil, true)
I'm guessing we still want to be raising the No verification key available (JWT::DecodeError)) key since it's a clearer message.
The text was updated successfully, but these errors were encountered:
excpt
Successfully merging a pull request may close this issue.
This raises
no implicit conversion of nil into String (TypeError)
This raises
No verification key available (JWT::DecodeError))
I'm guessing we still want to be raising the
No verification key available (JWT::DecodeError))
key since it's a clearer message.The text was updated successfully, but these errors were encountered: