-
Notifications
You must be signed in to change notification settings - Fork 452
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_x_remote_user web form didn't work #724
Comments
Right, it doesn't use the HTTP authentication credentials that the browser already has.
You have to enter your username and password again. If you don't like this, you can configure nginx to allow access to the web interface without requiring authentication (or change the JavaScript in |
But in fact you cant use reverse proxy authentication anymore since the
webform needs another authentication.
No client can handle two authentications in a row (without modify them...)
I try to login through the form again, but it didn't work. Against what can
js proof if the credentials are valid, since there is no password file in
radicale.
Probably I need to share the password file to radicale as well - what is
kind of overkill, since clients can't handle it anyways.
It's possible to pass static authentication via nginx to the backend, like
proxy_set_header Authorization "Basic base64password";
But you need to care for this information in the backend as well to fill
the form
Furthermore its probably possible to use lua to fill in the form
If it's not possible to fix in radicale you should update your docs
Thanks for help anyways :)
|
The web interface uses the user name and password from the form to authenticate to the HTTP server. (The reverse proxy in your case.)
The reverse proxy handles the authentication.
No, the password file is not used if you use the
Radicale ignores the
I don't understand the problem. |
Okay maybe I was not clear in what I want to say. In the end I learned something more about basic_auth, thank you :) |
The issue may be the same as in #1119 |
I want to use radicale 2.1.8 behind a reverse nginx proxy with
--auth-type http_x_remote_user
nginx pass all variables to radicale corretly
I checked the code, it seems the js form didn't test for complete authentication from the proxy - but I am not into js programming ...
So the default form pops up to fill in credentials
Cheers
The text was updated successfully, but these errors were encountered: