node-red-contrib-auth-oidc

0.0.4 • Public • Published

node-red-contrib-auth-oidc

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

Screenshot

Install

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

npm install node-red-contrib-auth-oidc

Usage

You have to configure the node by setting the discovery URL of your OpenID Connect provider.

Examples:

Provider Discovery URL
Google https://accounts.google.com/.well-known/openid-configuration
Microsoft https://login.windows.net/common/.well-known/openid-configuration
Salesforce https://login.salesforce.com/.well-known/openid-configuration
Okta https://YOUR_SUB_DOMAIN.okta.com/.well-known/openid-configuration
Auth0 https://YOUR_SUB_DOMAIN.auth0.com/.well-known/openid-configuration
Keycloak https://YOUR_DOMAIN/auth/realms/YOUR_REALM_NAME/.well-known/openid-configuration

This node extract and validate the access token from HTTP headers (Authorization: Bearer XXX).

Decoded token (JWT) is stored into the message property: msg.access_token.

Package Sidebar

Install

npm i node-red-contrib-auth-oidc

Weekly Downloads

34

Version

0.0.4

License

Apache-2.0

Unpacked Size

31.2 kB

Total Files

16

Last publish

Collaborators

  • ncarlier