httpNodeAuth in settings.js only works for last user

Hi Dears,

I am using the httpNodeAuth in settings.js to define several users for my dashboard application. I include one httpNodeAuth: {user:"user-1",pass:"hash-1"} for each user. However, only the last user declaration works. Any suggestion ?

Thanks,

Roberto

I think the existing config example is misleading, so my guess is, if you had multiple users, you'd have to pass an array of user objects, like:

httpNodeAuth: [
    {user:"user1",pass:"hash-1"},
    {user:"user2",pass:"hash-2"}
]

Hi Kuema,

I already tried this way, but does not work. When I launch the node-red, it shows a sintaxe error in the settings.js.

Thanks

httpNodeAuth only supports providing a single username/password.

Okay... all in all, it was just an assumption that it goes along with the scheme used by the adminAuth property. :sweat_smile:

Just FYI, DashBoard 2.0 v1 supports Multi User (only with FlowFuse User Authentication)
PS: this version has not yet been released

Thanks for your information, Gogo Vega and knolleary.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.