@aikitori/node-red-dashboard-2-basic-auth 0.1.1

Dashboard auth with http basic auth

npm install @aikitori/node-red-dashboard-2-basic-auth

Node-RED Dashboard with HTTP Basic Authentication

Requirements

  • A Webserver with activated HTTP Basic auth

Configuration

Configure your Webserver, that the http user is added to the request header key "X-Forwarded-User" See here how to cofigure nginx for example

Example

nginx

server {
  listen 80;
  location / {

    auth_basic "Node-RED Dashboard";
    auth_basic_user_file /etc/nginx/htpasswd;
    proxy_set_header X-Forwarded-User $remote_user;

    proxy_pass http://localhost:1880;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
  }
}

Node Info

Version: 0.1.1
Updated 7 months, 3 weeks ago
License: AGPL-3.0-or-later
Rating: not yet rated

Categories

Actions

Rate:

Downloads

28 in the last week

Keywords

  • node-red
  • node-red-dashboard
  • basic
  • auth
  • authentication

Maintainers