squeezelite-esp32 icon indicating copy to clipboard operation
squeezelite-esp32 copied to clipboard

Basic Authentication for the web server

Open emlynmac opened this issue 1 year ago • 6 comments

Adds HTTP Basic Authentication to the web server in squeezelite-esp32.

By default, disabled.

Set a value in NVS under the http_password key and this will then be needed to access the HTTP server.

Responds to #239.

emlynmac avatar May 20 '24 23:05 emlynmac

I'm going to review this soon. Thank you!

sle118 avatar Jun 07 '24 22:06 sle118

I know it's been a little while. Thank you for your patience.

sle118 avatar Jun 20 '24 02:06 sle118

I know it's been a little while. Thank you for your patience.

I'm gonna look at the bluetooth PIN situation next. I really need it for my set up...

emlynmac avatar Jun 20 '24 15:06 emlynmac

Still haven't had a chance to do a proper review with competing life priorities. Pin code is problematic because it will likely break most people's configuration. Instead of a pin code, it would be best to instead do something similar to what homeassistant does for pairing ZigBee or zwave devices, which is a "pair" button in the UI (or a hardware button key, like gpio0 that could be bound to that function via the existing JSON configuration for buttons and rotary). Pairing mode would activate for a limited time and associated devices hardware address stored in nvm. This is also how some devices like headsets, Bluetooth speakers, etc. Work

sle118 avatar Jul 19 '24 11:07 sle118

@sle118 I'm guessing this project has become EOL?

emlynmac avatar Feb 28 '25 21:02 emlynmac

@sle118 I'm guessing this project has become EOL?

It has not, except that I would much prefer to concentrate our efforts in the new branch, now that I have managed to push it. Both Philippe and myself have had to take some distance from the project in the past year or so, but I am certainly willing to dive back into it if there is help from people like you.

https://github.com/sle118/squeezelite-esp32/discussions/342

sle118 avatar Mar 20 '25 12:03 sle118