# Implementing Multi-User and Multi-Tenant Management in Node-RED Dashboard Without Enable FlowFuse User Authentication

**URL:** <https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [24 August 2024 03:44 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385 "2024-08-24T03:44:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoganathanSambath](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/loganathansambath/32/92841_2.png) [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Post date:** [24 August 2024 03:44 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385/1 "2024-08-24T03:44:41Z")

</div>

- I'm working on a project where I need to implement multi-user and multi-tenant management in a Node-RED dashboard.
- The challenge is that I want to achieve this without enabling Flow Fuse User Authentication or relying on any external authentication mechanisms.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [25 August 2024 06:54 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385/2 "2024-08-25T06:54:22Z")

</div>

> - The challenge is that I want to achieve this without enabling Flow Fuse User Authentication or relying on any external authentication mechanisms.

Why the restriction? Authentication is _hard_. Providers exist to make your life a lot easier!

Where would you envision defining your users, their password, etc?

---

<div class="post-metadata">

**Author:** ![LoganathanSambath](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/loganathansambath/32/92841_2.png) [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Post date:** [26 August 2024 05:15 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385/3 "2024-08-26T05:15:54Z")

</div>

- I'm currently fine with using basic authentication, as my project is still in the development stage.

- However, I'm finding it difficult to understand your YouTube video on creating a multi-user dashboard, especially since I'm a beginner.

- Could you provide step-by-step documentation for this? It would be extremely helpful.

---

<div class="post-metadata">

**Author:** ![LoganathanSambath](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/loganathansambath/32/92841_2.png) [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Post date:** [27 August 2024 05:46 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385/4 "2024-08-27T05:46:04Z")

</div>

- While using basic authentication, I'm able to retrieve the socket ID and IP address of a single user, but I am not able to retrieve user details.

- Can we achieve a multi-user dashboard using basic authentication? If not, do we need to go with the paid version, such as FlowFuse, for user authentication in a multi-user dashboard?

- Can anyone provide guidance on this?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1bb09386bf751a58a8b2447c4e8377ec8ce2cba3.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4bcad2a08321a2cd438738aae8e444aa4ecf4b63.png)

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [27 August 2024 07:59 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385/5 "2024-08-27T07:59:41Z")

</div>

> [@LoganathanSambath](#):
>
> While using basic authentication, I'm able to retrieve the socket ID and IP address of a single user, but I am not able to retrieve user details.

There isn't a plugin available yet for Dashboard 2.0 that would pass through the Basic Auth data to the `user` object. We have guides on building plugins [here](https://dashboard.flowfuse.com/contributing/plugins/) if you're interested, and you can also see the source for some of the other plugins here too, e.g. [CloudFlare](https://github.com/fullmetal-fred/node-red-dashboard-2-cloudflare-auth) or [Authelia](https://github.com/aikitori/node-red-dashboard-2-authelia-auth)

> [@LoganathanSambath](#):
>
> If not, do we need to go with the paid version, such as FlowFuse, for user authentication in a multi-user dashboard?

There are other open-source authentication providers available: [Building Multi-Tenant Dashboards | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/user/multi-tenancy.html#authentication-providers)

The FlowFuse option is the most "out of the box" though, the others will require you to set up the authentication providers locally, etc.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 September 2024 08:00 UTC](https://discourse.nodered.org/t/implementing-multi-user-and-multi-tenant-management-in-node-red-dashboard-without-enable-flowfuse-user-authentication/90385/6 "2024-09-26T08:00:01Z")

</div>

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