Skip to content

JWT Constraints checking time should have some customizable "wiggle room" #15

@Jonas-Sander

Description

@Jonas-Sander

Because the server creating the JWT token and the server validating the JWT could have some slightly inaccurate clocks there should be some customizable "wiggle room" for all checks that have time in them.

Constrains that need some "wiggle room":

  • Expiration time "exp" must be in the future. The time is measured in seconds since the UNIX epoch.
  • Issued-at time "iat" must be in the past. The time is measured in seconds since the UNIX epoch.
  • Authentication time "auth_time" must be in the past.

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