Skip to content

Payload is inaccessible in Expired / BeforeValid scenarios #291

Closed
@bendoh

Description

@bendoh

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions