Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON Web Tokens consist of three parts separated by dots (.), which are:

  • Header

  • Payload

  • SignatureeSignature

Therefore, a iHub JWT looks like the following.

...

To exchange the JWT to a short lived bearer token, do a

POST to https://ihubprod.rixter.net/token and if incoming/token

Body:

Code Block
{
    "grant_type":"urn:ietf:params:oauth:grant-type:jwt-bearer",
    "assertion":"{{JWT}}"
}

Replace the {{JWT}} with the signed token from above step.

Response

If valid it will return a body like below

...