muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.29k stars 320 forks source link

Implement HTTP basic auth #189

Closed dgrr closed 4 years ago

persidskiy commented 6 years ago

Do you guys have such plans? I would like to install it in my private network and share with colleagues.

muesli commented 6 years ago

It should be fairly easy to integrate and I'm not opposed to it. I do recommend a simple nginx/apache/caddy reverse proxy with HTTPS around it, though.

dgrr commented 5 years ago

Related with https://github.com/muesli/beehive/issues/105

Skrylar commented 5 years ago

Do you guys have such plans? I would like to install it in my private network and share with colleagues.

Huginn does have separate user/pass and some degree of separation between individual user's creating agents and setting up chains. Beehive would probably need the concept of separate users though.

Pitching in a few cents, when it comes to actually verifying the passwords:

Those are probably overkill and do require some setup on the user end, but:

dmoonfire commented 5 years ago

For my Nginx setup, I went with:

    location / {
        auth_basic "BeeHive";
        auth_basic_user_file "/path/to/beehive.passwd";
    }

It was off-the-cuff, but works out for single user site.