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