-
Notifications
You must be signed in to change notification settings - Fork 25
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
Feature Request: support http basic auth in kanboard URL #26
Comments
Hi, If I understand your setup correctly, you added a second layer of authentication. |
Well, i have the normal Kanboard User Authentication via the normal login form. However, to shield off the Kanboard from the "evil open internet" i added HTTP BASIC Auth for Apache. So whenever someone is accessing our Kanboard, he will first be asked by Apache to authenticate himself against the webserver to be even able to see the Kanboard Login Page. (we use a shared password for this - this is not meant to add bullet proof security, just to keep google and other bots off the server and also block random people browsing) Does that answer your question somehow? :) |
+1 |
another possible solution: |
@aslmx you may avoid double layer authentication with following kanboard settings you also need to configure apache to pass REMOTE_USER environment variable |
+1 I authenticate to PAM with HTTP Basic Auth, i. e. there's already robust and flexible authentication in place. Since Kanboard provides the option to use a reverse proxy for authentication and deactivate its login form as @linvinus mentioned, this concept appears to be supported by the server project which should be reflected in the app. |
Actual behaviour
Try to setup a kanboard connection with
https://http-user:http-password@fqdn.to-kanboard.org/path/to/kanboard
WIth
user: kanboard-username
password: kanboard-user-password
Login will fail. Kandroid will complain that the Kanboard Version used is smaller than 1.0.38. Altough it is 1.0.45.
As there are a lot of HTTP 401s in the apache access.log, i assume that basic auth credentials in the URL are not used / parsed.
Expected behaviour
Kandroid uses the credentials provided in the URL to pass the HTTP BASIC AUTH that our webserver requires. Uses Kanboard credentials to auth against kanboard.
Steps to reproduce
Setup a server with http basic auth on Kanboard path, like
user@host# cat .htaccess
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
Configuration
The text was updated successfully, but these errors were encountered: