node-red-contrib-basicauth 1.0.4

Node-RED node providing basic access authentication for the HTTP In node

npm install node-red-contrib-basicauth

node-red-contrib-basicauth

Node-RED node providing basic access authentication for the HTTP In node

This node differs from other nodes providing basic authentication in that it provides a second output to allow the user to handle authentication failures as they see fit.

The second output will get called with a msg object with this structure:

{
  // An error message describing the situation
  payload: string,

  // The URL or endpoint that was hit
  url: string,

  // The username that the client attempted to log in with
  username: string,

  // The value in the X-Real-IP header
  ipAddress: string | undefined,
}

Node Info

Version: 1.0.4
Updated 5 years, 10 months ago
License: MIT
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

151 in the last week

Nodes

  • node-red-contrib-basicauth

Keywords

  • node-red
  • http
  • basic
  • authentication

Maintainers