node-red-contrib-aw365-jwt-token 1.0.9

creates a jwt token from msg.body and msg.secret

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

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

Node Info

Version: 1.0.9
Updated 2 years, 3 months ago
License: ISC
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

10 in the last week

Nodes

  • aw365-jwt-token

Keywords

  • node-red
  • aw365
  • jwt
  • jwt-token

Maintainers