Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ncarlier/node-red-contrib-openid

Node-RED node to use OpenID Connect with HTTP nodes
https://github.com/ncarlier/node-red-contrib-openid

node-red oidc oidc-client openid-connect openidconnect-client

Last synced: about 1 month ago
JSON representation

Node-RED node to use OpenID Connect with HTTP nodes

Awesome Lists containing this project

README

        

# node-red-contrib-openid

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

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

![Screenshot](screenshot.png)

## Install

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

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

[nodered]: https://nodered.org/
[node-openid-client]: https://github.com/panva/node-openid-client