Have been trolling through this forum and Google looking for an answer for just over two hours, if I missed it, please point it out and I will be on my way....
I'd like to have unfettered access to the dashboard pages, but require a username and password for the editor.
I have spent a lot of time in a text editor tweaking settings.js.
Added the following block of code;
Also have been experimenting with setting true/false and taking it out entirely the following line; credentialSecret: "false";
Those changes turn on a user/pass for all Node-RED, that is to say, both the dashboard and the editor.... I can't find a way to enable it for one mode and not the other.
If the platform matters I am on a Pi 3 running Node-RED 1.0.3 and Node.js version 12.14.1
Are you sure?
Adding adminAuth should only apply basic auth for the Admin pages (editor), and not the dashboard.
In your settings.js file, have you changed the httpNodeAuth setting? That would normally require auth for the node endpoints (dashboard), but by default, it is commented out and therefore auth is not applied.
And don't play with the ctedentialSecret property. That has nothing to do with authentication and if you change it, the runtime won't be able to decrypt your credentials file and your flows will be broken.