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

Instant claims may be non-integer values #758

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Conversation

gastaldi
Copy link
Contributor

Spec states the exp claim to be:

A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time,
ignoring leap seconds. This is equivalent to the IEEE Std 1003.1, 2013 Edition [POSIX.1] definition "Seconds Since the Epoch", in
which each day is accounted for by exactly 86400 seconds, other than that non-integer values can be represented. See RFC 3339
[RFC3339] for details regarding date/times in general and UTC in particular.

Spec states the `exp` claim to be:

```
A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time,
ignoring leap seconds. This is equivalent to the IEEE Std 1003.1, 2013 Edition [POSIX.1] definition "Seconds Since the Epoch", in
which each day is accounted for by exactly 86400 seconds, other than that non-integer values can be represented. See RFC 3339
[RFC3339] for details regarding date/times in general and UTC in particular.
```
@sberyozkin sberyozkin self-requested a review January 16, 2024 14:23
@sberyozkin sberyozkin merged commit efe9a0e into smallrye:main Jan 16, 2024
5 checks passed
@sberyozkin sberyozkin added this to the 4.5.0 milestone Jan 16, 2024
@gastaldi gastaldi deleted the number branch January 16, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants