Jump to content
Tommi Prami

Help with JWToken

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×