sign
This block is part of the json web token group and was last modified in core v10.4.28.
sign v10.4.28 Creates and signs a new json web token.
In pins 3 + flow
- flow
flow - payload required
objectthe payload to add to the jwt
- secret required
valuethe secret or private key to sign the jwt with
- expires required
datewhen the jwt should expire
Out pins 3 + flow
- flow
flow - success
condition - error
value - token
value
jwt |
A typical wiring for sign: a function trigger starts the flow; new object feeds the payload pin; value feeds the secret pin; date now feeds the expiresin pin; the flow out pin feeds debug.

Version history
Introduced in v10.4.28.
Back to
json web token Return to the main group to view all sub-groups Back to json web token Return to the group to view all blocks within this group
