Skip to content

priority of checking: validity before expiry #435

@mined

Description

@mined

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions