Feature : HTTP_REMOTE_USER for auth_remote

I am using Nginx auth_request feature to authenticate on my services (vouch proxy and Nextcloud as oauth2 provider but it is not the purpose of this topic).

In Nginx I have this :

proxy_set_header Remote-User $auth_resp_x_vouch_user;

And in php, it translates to the the variable $_SERVER[“REDIRECT_REMOTE_USER”] being set but this one is not used in ttrss code.

Maybe I missed something in the configuration of Nginx and I would be glad if someone could point me to a solution. Otherwise, if I have access to Gogs I can make a proper PR to add it directly. (My username is the same as here : Tony).

Best regads.

sure, file a PR, i’ve updated your account with necessary permissions.

Thank you :slight_smile: PR done !