JWT_SIGN

Creates a JSON Web Token from the input claim set using either RS256 (default), HS256 or ES256.

Syntax 

JWT_SIGN(claim_set, key, [algorithm], [headers])

Examples 

Example 1

Formula

JWT_SIGN(claim_set, CREDENTIAL.jwt_hmac_key, "H256", extra_headers)