JSON Web Tokens (JWT - pronounced “jot”) are used by many services to represent and exchange information in a secure manner. When creating a JWT token, you need to supply the following information:
Algorithm: The algorithm to be used when computing the JWT
Payload: The payload to be included in the JWT. Payloads typically contain a set of Claims.
Auto generate 'iat' & 'exp' claims: When using JWTs, two common claims are iat (Issued At) and exp. When this checkbox is selected, Tines will insert an iat claim corresponding to the time the action runs, and an exp claim corresponding to the current time + 1 hour, into the JWT payload.
Private key: The private key to be used to sign the JWT.
When an action containing a
CREDENTIAL formula expression referring to a JWT-type credential runs, Tines will build a JWT and insert it into the options block in place of the expression. For example, given
<<CREDENTIAL.my_jwt_user_credential>> and a corresponding credential, at runtime, Tines will substitute in a string similar to the following: