Skip to content

ncarlier/node-red-contrib-openid

Repository files navigation

node-red-contrib-openid

Node-RED node to use OpenID Connect with HTTP request nodes.

This node uses the certified OpenID client library: node-openid-client

Screenshot

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-openid

Usage

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']