undefined method `verify' for nil:NilClass when validate a JWT with JWK #383
Comments
Looks like you are using version |
Also the latest released version expect the keys to be symbols. The next release will have support for a mix of strings and symbols. Until that you need to symbolize the keys in the hash given to the decode method. |
Closing this. Please reopen if there are some issues with this and the latest versions of the GEM. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to validate my JWT token using jwk, the same way it is present in the documentation, but I keep receiving the error:
"undefined method `verify' for nil:NilClass"
Can someone help me?
I get my jwk from my keycloak server, and it is a hash, with the right format.
Thanks!
The text was updated successfully, but these errors were encountered: