Closed onoraba closed 2 years ago
Hi
I'm using nginx for reverse proxing with ssl cert auth:
map $ssl_client_s_dn $app_remote_user { default ""; ~^CN=(?<user>[^,\s]+) $user; }; ssl_client_certificate /opt/certs/root.crt; ssl_verify_client on; ssl_verify_depth 1;
and to authenticate nginx with app: proxy_set_header REMOTE_USER $app_remote_user;
proxy_set_header REMOTE_USER $app_remote_user;
How can I configure UI3 in such a way so it will authenticate users by http header ?
https://github.com/bp2008/ui3/wiki/Using-UI3-with-a-reverse-proxy-server
I don't understand your configuration. You may need to rethink the authentication approach. UI3 can't add an http header to all requests that go to the web server.
Hi
I'm using nginx for reverse proxing with ssl cert auth:
map $ssl_client_s_dn $app_remote_user { default ""; ~^CN=(?<user>[^,\s]+) $user; }; ssl_client_certificate /opt/certs/root.crt; ssl_verify_client on; ssl_verify_depth 1;
and to authenticate nginx with app:
proxy_set_header REMOTE_USER $app_remote_user;
How can I configure UI3 in such a way so it will authenticate users by http header ?
https://github.com/bp2008/ui3/wiki/Using-UI3-with-a-reverse-proxy-server