Node-RED node to use OpenID Connect with HTTP request nodes.
This node uses the certified OpenID client library: node-openid-client
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-openid
Once authenticated with the OpenID provider, each message passing through this node obtains a fresh access token.
This access token is stored into this message property: msg.access_token
In order to be usable with the HTTP node, the access token is also added to HTTP
headers: msg.headers['Authorization']