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])

Usage examples 

Example 1

Formula

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

Sample Actions 

Event Transform
My Action
Event Transform
JWT_SIGN

Select an Action to inspect.

You can also click "Copy Actions" and paste them in your Tines Story to see how they work.

Was this helpful?