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!
API without password
Re: API without password
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
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
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?
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
same question here, is there a solution for access in the local network without logging in.
Re: API without password
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.