Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(claims): deser exact integer timestamp values from claims #106

Closed
wants to merge 1 commit into from

Commits on Feb 19, 2024

  1. fix(claims): deser exact values from claims

    When deserializing JWT claims from JSON inputs, the hardcoded values for issued_at, expires_at, invalid_before, etc. are bit-shifted to values which do not match the input. This PR uses UnixTimestamp methods which passthrough the values from the deserializer's input so that the resultant claims match the expected values from the input.
    ocn committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    cba3982 View commit details
    Browse the repository at this point in the history