node-jose icon indicating copy to clipboard operation
node-jose copied to clipboard

priority of checking: validity before expiry

Open mined opened this issue 11 months ago • 0 comments

If a token has wrong signature and the payload is also expired, node-jose returns token expiry as reason for failed verification. I think other errors should have higher priority and should be reported in this case, payload checking should have lesser priority.

mined avatar Feb 25 '25 11:02 mined