node-red-contrib-aw365-jwt-token

1.0.9 • Public • Published

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

Package Sidebar

Install

npm i node-red-contrib-aw365-jwt-token

Weekly Downloads

0

Version

1.0.9

License

ISC

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • olafanywhere