node-red-contrib-httpauth 1.0.12

Node which implements HTTP Basic/Digest Authorization.

npm install node-red-contrib-httpauth

Node-RED node for HTTP Basic/Digest Auth

This Node-RED module performs Basic and Digest authentication. It is to be used in conjunction with an http input node.

flow.png

Config

flow.png

There are three type of configuration:

  1. File: the user credentials are stored in a file. (mutliple credentials)
  2. Shared: credentials shared which multiple nodes. (one credential)
  3. Not Shared: each node has it's own credentials. (one credential)

With all three config types you must specify the following:

  • Auth Type: what authentication type will be used: Basic, Digest
  • Realm: what realm will be used with this node
  • Hashed: are the passwords in the Password field or in the credentials file hashed. This field is only relavent if Auth Type is Digest. It has no effect on Basic. Hash format: MD5(Username:Realm:Password)

With Shared and Not Shared config types you must specify the following:

  • Username: the username
  • Password: the password If you entered a hashed password you must check the Hashed checkbox.

With File config type you must specify the following:

  • File: location of the file containing the credentials relative to the presently working directory If the password are hashed you must check the Hashed checkbox.

File Configuration

file.png

Shared config

cred.png

Node Info

Version: 1.0.12
Updated 9 years, 2 months ago
License: GPL-2.0
Rating: 3.0 2

Actions

Rate:

Downloads

105 in the last week

Nodes

  • node-red-contrib-httpauth
  • node-red-contrib-httpauthcred
  • node-red-contrib-httpauthfile

Keywords

  • node-red
  • http
  • authorization
  • basic
  • digest

Maintainers