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
kuema
16 January 2024 12:50
2
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.
kuema
16 January 2024 14:07
5
Okay... all in all, it was just an assumption that it goes along with the scheme used by the adminAuth
property.
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.
system
Closed
17 February 2024 16:47
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.