Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP header auth #110

Closed
onoraba opened this issue May 13, 2022 · 1 comment
Closed

HTTP header auth #110

onoraba opened this issue May 13, 2022 · 1 comment

Comments

@onoraba
Copy link

onoraba commented May 13, 2022

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

@bp2008
Copy link
Owner

bp2008 commented May 13, 2022

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.

@bp2008 bp2008 closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants