Closed swingerman closed 2 years ago
related to https://github.com/custom-components/sensor.unifigateway/issues/37
It seems that Unifi controller requires an authorization header for each request.
I implemented this with a logic that checks if the login response contains a cookie with the token and if sent it uses for each read and write requests.
related to https://github.com/custom-components/sensor.unifigateway/issues/37
It seems that Unifi controller requires an authorization header for each request.
I implemented this with a logic that checks if the login response contains a cookie with the token and if sent it uses for each read and write requests.