Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ncarlier/node-red-contrib-openid
- Owner: ncarlier
- License: apache-2.0
- Created: 2017-08-21T19:12:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-30T10:58:17.000Z (7 months ago)
- Last Synced: 2024-10-29T07:04:50.514Z (3 months ago)
- Topics: node-red, oidc, oidc-client, openid-connect, openidconnect-client
- Language: HTML
- Size: 43 KB
- Stars: 4
- Watchers: 4
- Forks: 6
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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