Search found 4 matches
- 05 Sep 2022, 13:40
- Forum: Fibaro
- Topic: HTTPS Digest Autentisiering - Lua HC2
- Replies: 6
- Views: 12571
Re: HTTPS Digest Autentisiering - Lua HC2
I didn't copy the entire WWW-Authenticate header before: [DEBUG] 21:31:15: WWW-Authenticate = Digest qop="auth", realm="DS-0AAC0497", nonce="Njg5NDFlOTFmYzU0NDlkZTVhYTAyMjg2OWU3OTFjNDc=", stale="false", opaque="", domain="::" there's nothin...
- 05 Sep 2022, 13:37
- Forum: Fibaro
- Topic: HTTPS Digest Autentisiering - Lua HC2
- Replies: 6
- Views: 12571
Re: HTTPS Digest Autentisiering - Lua HC2
I think it may be something peculiar to HIKVISION Trying a 'test' URL works fine with your code url = 'https://httpbin.org/digest-auth/auth/user/passwd' uri = '/digest-auth/auth/user/passwd' user = 'user' passwd = 'passwd' What's curious though is the same http request to HIKVISION doesn't work from...
- 05 Sep 2022, 13:25
- Forum: Fibaro
- Topic: HTTPS Digest Autentisiering - Lua HC2
- Replies: 6
- Views: 12571
Re: HTTPS Digest Autentisiering - Lua HC2
thanks for replying It reads the 'WWW-Authenticate' header ok, e.g. below [DEBUG] 21:09:45: WWW-Authenticate = Digest qop="auth", realm="DS-0AAC0497", nonce="ZTllNmJmZDNmMjRmMTBmMDYyZGY2YjBlMjFhZmY4MzM=", it also constructs the header ok too [DEBUG] 21:09:46: Authorizat...
- 05 Sep 2022, 00:49
- Forum: Fibaro
- Topic: HTTPS Digest Autentisiering - Lua HC2
- Replies: 6
- Views: 12571
Re: HTTPS Digest Autentisiering - Lua HC2
Firstly apologies for writing in English. Secondly thanks for posting the LUA code in your link. I wasn't familiar with Digest authentication till earlier this week and your code was helpful in that process. That said I haven't managed to get the code to authenticate even using standard url's to che...