Skip to content

iat being set to null is not handled properly #363

@Colin-b

Description

@Colin-b

If iat is provided, but the value is null (or None once deserialized), a TypeError is raised instead of a JWTClaimsError.

I think the following piece of code should handle TypeError as well as ValueError:

except ValueError:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions