Page 1 of 1

API without password

Posted: 22 Nov 2015 15:29
by qbawawa
Hi,

when I try to reach API from raspberry-pi (localhost) I get message Forbidden (as I understand this is problem with authorization), but when I try to run it from other computer in network it works fine.

How to setup it to not require authorization from localhost and require from other sources?

Regards!

Re: API without password

Posted: 23 Nov 2015 00:15
by AlphaX2
Maybe you were logged in already (web ui?) with this other computer. But it should work to create a "Anonymus" user, without a password for accessing the API without authentification, but this would also work from "outside" for both port forwarding and zbox solution, as far as I know. Don't know if it's also working with a password less "local user"?!

Re: API without password

Posted: 23 Nov 2015 22:04
by qbawawa
I'm not logged to web ui. Also - I create "Anonymous" user without password, but still when I try to make http request from localhost I get response "Permission denied".

Re: API without password

Posted: 17 Dec 2015 23:38
by SkjeggPT
when trying to make an anonymous user, name, login and password are mandatory..
is there any way to disable authentication on local network or just disable all together..

Or is buying a vera or HC2 the only way to go?

Re: API without password

Posted: 17 Jan 2016 01:23
by noah
same question here, is there a solution for access in the local network without logging in.

Re: API without password

Posted: 17 Jan 2016 16:58
by bogr
There's another thread about this. As I understand it the solution at the moment is to create a separate "room" and make it available for the anonymous user. Then add the devices etc to that room. I don't think that's the "ultimate" solution, but it works. Another, more complex but "better" in my opinion, is to set up a webserver (e.g. nginx) that handles the authentication and just forward the calls to z-way.