Dynamically add Username as Label upon upload with OE2

Hi,

I am using orthanc-auth-service and cannot seem to find a way to dynamically add the user as a label. The purpose of this would be to restrict users to view only their studies.

Thank you

After many failed attempts, it seems that if a forward can be added to reverse-proxy.orthanc.conf as
proxy_set_header X-Remote-User $http_x_auth_request_preferred_username;
proxy_set_header Authorization $http_authorization;

This should allow this to happen.
Anyone?