hxmelab
(HomeLAB)
February 4, 2020, 5:56pm
1
Hi all,
on my local smart home server a simple http basic auth is required. For any reason the nuki callback won’t work if basic auth is enabled on my server. Without basic auth everything is working fine.
I add the callback url to the nuki bridge escaped and with the following scheme:
http://user:pass@192.168.0.10:1880/nukibridge
Does anybody know what could be wrong here?
Thank you in advance!
hxmelab
(HomeLAB)
February 10, 2020, 10:45pm
2
I wrote this workaround to get the callback running:
This project is a simple workaround of https://developer.nuki.io/t/http-api-callback-and-basic-auth/4732 to get Nuki's callback running with a secured Node-RED instance.
Still wondering, if I did something wrong or if Nuki’s callback does not support basic auth.
PatrickR
(Patrick R)
February 12, 2020, 11:39am
3
Implementing basic auth alone wouldn’t do any good since the callback doesn’t support https according to the api documentation.
Patrick
hxmelab
(HomeLAB)
February 12, 2020, 1:05pm
4
Hi Patrick,
thank you for your response. So to get you right, basic auth is not supported?
Cheers
Phil
PatrickR
(Patrick R)
February 12, 2020, 3:33pm
5
That’s what I would assume based on your observations and the lack of any hint to authentication in the API documentation. But to be sure, a NUKI employee will have to answer.
Patrick
JojoBE
(Vincent JOORIS)
August 13, 2022, 6:10pm
6
from what I understood, the basic auth want to go to an http server (anyway, I’m searching a way for basic auth to an http server)
JojoBE
(Vincent JOORIS)
September 3, 2022, 1:42pm
7
npbpdy have a suggestion to do ?