New node for HTTP Basic Auth

Hello,
The situation was messy for Basic HTTP Authentication for HTTP In, as some have noticed (e.g. HTTP Auth node is obsolete , but the topic is closed), with several abandoned nodes, several forks, and pending pull requests.

Here is a new node, which is the result of the fusion:

I have made an honest effort to merge several nodes and their forks and some of their pending PRs back into one. So all the features should be there, though sometimes with some modifications. This includes the support of multiple credentials, and a second output for logging failed authentications.

The node has also been modernised, allowing in particular the storage of passwords using bcrypt in addition to the previous only option of plain-text, as well as compatibility with Apache htpasswd format.

Tests and feedback welcome. Repository: GitHub - alexandrainst/node-red-http-basic-auth: Node-RED node for HTTP Basic Auth
Enjoy!

image

3 Likes

Thanks for bringing things together like that. One thing, sorry, I've not read your documentation but it is important to tell people to use HTTPS for any authentication. So if that isn't in your docs, it really should be there.

1 Like