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
Thanks for noticing. Think something changed a few versions back. Maybe I'll remove the whole example from the readme, it does not make sense to use an empty string as secret when signing the payload.
This section of the README has the following code:
In particular, this line causes issues:
decoded_token = JWT.decode token, nil, true, { algorithm: 'HS256' }
At the time of writing, this was probably fine, but now it raises a
JWT::DecodeError: No verification key available
.The text was updated successfully, but these errors were encountered: