JWTClaimSet.Builder() - Dates are inserted in wrong format

Issue #213 invalid
Former user created an issue

When using the JWTClaimSet.Builder() methods expirationTime() and issueTime(), a Date object is required as parameter. These claims are used for OpenID Connect ID Tokens.

The ID Token which is created from this ClaimSet using the SignedJWT(JWTHeader, JWTClaimSet) constructor, these timestamps are inserted as real timestamp instead of converting them to seconds since UNIX Epoch, as specified in OAuth2 and OpenID specification.

Comments (4)

  1. Vladimir Dzhuvinov

    Hi,

    Can you please post a snippet that exposes the issue?

    I just added an extra test, but couldn't verify the problem. Here is the test: 970497d

  2. Connect2id OSS

    Closing the ticket, feel free to reopen if you think the issue is valid or have a snippet to demonstrate that.

  3. Log in to comment