Jump to content

Recommended Posts

{
  "aud": "1",
  "jti": "c455147e32d593e35fe",
  "iat": 1746708640.21844,
  "nbf": 1746708640.218443,
  "exp": 1746715840.20109,
  "sub": "8314",
  "scopes": [

  ],
  "user": {
    "name": "Prami Tommi",
  ...

I've got JWToken that to me seems that is not standard.

exp etc should not be float, but "UnixDate" is integer (Can't remeber what it is called on top of my head.)

Is this some weird standard or just plain wrong? Did some googling but did not find any JWToken standard that would accept this.

-Tee-

Share this post


Link to post

The integer part is seconds since the Unix Epoch so is a Unix timestamp. Some sources add fractional seconds so they can contain timestamps with more accuracy.

 

Share this post


Link to post
20 hours ago, Brian Evans said:

The integer part is seconds since the Unix Epoch so is a Unix timestamp. Some sources add fractional seconds so they can contain timestamps with more accuracy.

 

Unix Epoch is seconds, maybe fractions of seconds.

But never the less, to me it seems to be agaisnt the standard. That it should be integer.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×