Contents tagged with JSON Web Token

  • JWT structure and format

    Hello everybody,

    today I want to describe a bit structure and format of JWT or json web tokens.

    Here you can read official description.

    But in my post I'll describe little bit more general information.

    The two main ingredients of json web token are: header and claims.

    Then if to continue each part can have the following:



    algorithms and keys used


    Issuer (iss)

    Audience (aud)

    IssuedAt (iat)

    Expiration (exp)

    Subject ( sub )

    ... application defined claims

    for example it can look like this:

    Header {      "typ" : "JWT",       "alg" : "HS256"}

    Claims {       "iss" : "",       "exp" : "1451919380",       "aud" : "http:// … more