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
nataliastanko
changed the title
undefined method `casecmp' for nil:NilClass when invalid alg
Bug: undefined method `casecmp' for nil:NilClass when invalid alg
Apr 17, 2023
Getting
#<NoMethodError: undefined method casecmp for nil:NilClass>
when providing invalid algorithm to theJWT.decode
:JWT.decode(token, 'secret', true, algorithm: 'invalid-HS256')
Affecting the jwt gem since the #512
The text was updated successfully, but these errors were encountered: