Skip to content

IAT Time synchronization issue #60

Description

@Hdom

Hello, I am getting error

'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued

When attempting to use the JwtToken generated by GitHubJwtFactory.CreateEncodedJwtToken method.

I believe this is some sort of time synchronization issue between the client and the server (github).

I have found that adding 12 seconds of sleep between Token creation and usage solves the problem.

A solution would be to add an overload to allow an offset to be provided for the IAT.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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