forked from patrickjahns/esp_rgbww_firmware
-
Notifications
You must be signed in to change notification settings - Fork 6
HTTP Basic Authentication
verybadsoldier edited this page Jul 1, 2019
·
2 revisions
The HTTP interface can be secured by HTTP basic authentication (https://tools.ietf.org/html/rfc2617). When enabled then only HTTP requests providing a valid authentication header will be accepted. The username provided in requests is ignored, only the password gets validated.
The security option can be enabled/disabled using config-security-api_secured
. The password can be set using config-security-api_password
. NOTE: When enabling the option then in the same request also config-security-api_password
has to be included. config-security-api_password
can never be set separately. I can only be set within a request that also enables the security option.