Detecting which user or inspect html headers for dashboard actions?

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.

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

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.

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).