# Detecting which user or inspect html headers for dashboard actions?

**URL:** <https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524>\
**Category:** Dashboard\
**Created:** [27 November 2024 19:27 UTC](https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524 "2024-11-27T19:27:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeneryH](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/heneryh/32/48986_2.png) [@HeneryH](https://discourse.nodered.org/u/HeneryH)\
**Post date:** [27 November 2024 19:27 UTC](https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524/1 "2024-11-27T19:27:47Z")

</div>

I am running Node-Red behind a Traefik reverse proxy and an Authentik user access control system.

Works great to grant my clients some simple UI buttons to do things like unlock gates.

But now I want to log WHO does these UI actions.

Any ideas? I am not using a built-in node red user database so it would be great to dig into the html headers so inspect who pushes UI buttons.

---

<div class="post-metadata">

**Author:** ![kitori](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kitori](https://discourse.nodered.org/u/kitori)\
**Post date:** [28 November 2024 06:37 UTC](https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524/2 "2024-11-28T06:37:33Z")

</div>

You can try using the authentik plugin: [https://dashboard.flowfuse.com/user/multi-tenancy.html](https://dashboard.flowfuse.com/user/multi-tenancy.html)

---

<div class="post-metadata">

**Author:** ![HeneryH](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/heneryh/32/48986_2.png) [@HeneryH](https://discourse.nodered.org/u/HeneryH)\
**Post date:** [4 December 2024 14:26 UTC](https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524/3 "2024-12-04T14:26:38Z")

</div>

Thank you. This seems to work for the flow editor and I am now trying to get it to work for the dashboard. You'd think it would be an easy copy/paste from the admin auth to the http auth sections of the config but copy/pasting the auth to the http auth caused the system to crash. Just a test platform so no harm done but I still need to figure that part out.

---

<div class="post-metadata">

**Author:** ![HeneryH](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/heneryh/32/48986_2.png) [@HeneryH](https://discourse.nodered.org/u/HeneryH)\
**Post date:** [4 December 2024 21:09 UTC](https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524/4 "2024-12-04T21:09:02Z")

</div>

I'm getting the dashboard 2 multi-tenant feature with the Authentik plug-in (requires a reverse proxy using Authentik) confused with the core Node-Red ability to authenticate the admin dashboard with oauth (not relying on the reverse proxy).

---

<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:** [3 January 2025 21:09 UTC](https://discourse.nodered.org/t/detecting-which-user-or-inspect-html-headers-for-dashboard-actions/93524/5 "2025-01-03T21:09:24Z")

</div>

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