- changed status to open
JWTClaimSet.Builder() - Dates are inserted in wrong format
Issue #213
invalid
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)
-
-
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
-
Here with a few extra checks: 0aaf3b6
-
- changed status to invalid
Closing the ticket, feel free to reopen if you think the issue is valid or have a snippet to demonstrate that.
- Log in to comment