liuq 4 kuukautta sitten
vanhempi
commit
6cbfe2c892
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      server.js

+ 2 - 1
server.js

@@ -454,7 +454,8 @@ async function handleHomeAssistantLogin(config, credentials) {
       `${targetBaseUrl}/auth/login_flow/${flowId}`,
       {
         username: credentials.username,
-        password: credentials.password
+        password: credentials.password,
+        client_id: `${targetBaseUrl}/`
       },
       {
         headers: baseHeaders,