How to pass LDAP login to variable X-Remote-User in header on Shiny Server

I would like to pass LDAP login to variable X-Remote-User in headers to access it in shiny app as I want to build authentication system in shiny apps based on LDAP username (as for reading headers I already have a solution for shiny in js). But I don't know wheter I should configure shiny server or general web server (apache) as I have no admin knowledge. I am confused as this is what I am getting from client:

"connection: Keep-Alive
content-type: text/html; charset=UTF-8
date: Tue, 27 Sep 2022 10:14:00 GMT
keep-alive: timeout=5, max=98
server: Apache/2.4.6 (CentOS) PHP/5.4.16
transfer-encoding: chunked
vary: Accept-Encoding
x-content-encoding-over-network: gzip
x-powered-by: Shiny Server
x-ua-compatible: IE=edge,chrome=1
" "2022-09-27 12:14:00"

Should I configure shiny server somehow to add X-Remote-User to headers?

I'd be most grateful for any help!

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.