Expected Behaviour:
I am expecting to be able to utilize an App Password, regardless of having a web interface password, or 2FA enabled.
Actual Behaviour:
I have generated a new App Password (and applied it). When I try to use this app password within the password
property of the JSON body to POST /api/auth
, I get this repsonse:
{
"session": {
"valid": true,
"totp": false,
"sid": null,
"validity": -1,
"message": "password incorrect"
},
"took": 6.29425048828125e-05
}
Stating the password is incorrect.
similiarly, if I try to send an empty string: password: ""
I get "no password set"
error.
The only thing I can think that is causing this, is that I dont have a web interface password set, and it seems that by default, the web interface password, and the default api password is the same. It seems like from reading the docs, that an App Password should work just fine, but I am wondering if there is a bug that is preventing an app password from working because I dont have a password set?
Debug Token:
Debug token: https://tricorder.pi-hole.net/dwaHwFON/