Right now, if you were to validate the expires_at, not_before, and issued_at jwt fields while not setting them up as required.. Even if the presented value was an invalid string, the verification would pass.
Solution
Make sure that if the type is not expected, we return false. The presented solution should not cause any breaking changes.
THE ISSUE
Right now, if you were to validate the expires_at, not_before, and issued_at jwt fields while not setting them up as required.. Even if the presented value was an invalid string, the verification would pass.
Solution
Make sure that if the type is not expected, we return false. The presented solution should not cause any breaking changes.
Also, proceeded to add modules.