Closed
Description
Though the JWT is cryptographically valid in scenarios where it is being accessed chronologically out of bounds, callers have no easy way of seeing the payload that would be considered valid otherwise.
It would be useful to attach the "would-be" payload to thrown exceptions BeforeValidException
and ExpiredException
, so then callers would still be able to check the claims therein and act on them knowing that they are still invalid to some degree.