lifx-http icon indicating copy to clipboard operation
lifx-http copied to clipboard

Add some sort of authentication?

Open l3rady opened this issue 11 years ago • 1 comments

I'm currently running this on a windows server and have it open to the internet so I can control my lights away from home. I'm also using a Pebble watch app that works with this API allowing my to control my lights from my wrist.

All in all very happy with my setup but there is one thing troubling me. That is the api is open and public and if anyone came across the public api they would be able to control my lights.

So I would like to request if it is possible to add some sort of authentication to the api.

E.G. a username and password or an API token of some sorts.

Thanks

Scott

l3rady avatar Aug 13 '14 08:08 l3rady

Can you add some sort of Basic Auth from your web server for the time being? I've just set up HTTP Basic Auth on my *nix server where this is running.

To clarify: I'm proxying requests through Apache to :56780

lanej0 avatar Aug 20 '14 15:08 lanej0