node-red-contrib-aw365-jwt-token 1.0.9
creates a jwt token from msg.body and msg.secret
this node needs a msg.body and a msg.secret, or entered in the node
the msg.body shoudl contain the body of the jwt token like: { "iss": "123456-4444-5555-abcd-999999999", "iat": 1672990193 }
and a msg.secret which contains the key to encode the body.
a header will automatically be added which contains: {"alg":"HS256"}
you need to install jsonwebtoken before you can use it
npm i jsonwebtoken