node-red-contrib-auth-oidc 0.0.3

Node-RED node to add OpenID Connect authentication to HTTP nodes

npm install 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.

Node Info

Version: 0.0.3
Updated 3 years, 6 months ago
License: Apache-2.0
Rating: 0.0

Actions

Rate:

Downloads

55 in the last week

Nodes

  • auth-oidc

Keywords

  • node-red
  • auth
  • openid
  • oidc

Maintainers