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
If for example, you want to have a JWT expire at 4 hours after current time, it still doesn't expire at the exact time specified (exp field). But it does expire like the second afterwards but according to JWT documentation, it should expire at or after the given time. Please see the logic difference between the following two diffs:
If for example, you want to have a JWT expire at 4 hours after current time, it still doesn't expire at the exact time specified (exp field). But it does expire like the second afterwards but according to JWT documentation, it should expire at or after the given time. Please see the logic difference between the following two diffs:
https://github.com/jwt/ruby-jwt/blob/jwt-1.5.2/lib/jwt.rb#L161 (working version)
https://github.com/jwt/ruby-jwt/blob/v1.5.4/lib/jwt/verify.rb#L38 (not working version)
Essentially you are missing a less-than-or-equal to, I believe. Please check it out.
The text was updated successfully, but these errors were encountered: