From 52f40b3370af2c1d95c2be8df85457f28b4fdda9 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 2 Nov 2017 23:30:05 -0700 Subject: [PATCH] Cloud: Authenticate with id token (#10304) --- homeassistant/components/cloud/iot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/cloud/iot.py b/homeassistant/components/cloud/iot.py index 92b517b570c..1bb6668e0cc 100644 --- a/homeassistant/components/cloud/iot.py +++ b/homeassistant/components/cloud/iot.py @@ -62,7 +62,7 @@ class CloudIoT: self.client = client = yield from session.ws_connect( self.cloud.relayer, headers={ hdrs.AUTHORIZATION: - 'Bearer {}'.format(self.cloud.access_token) + 'Bearer {}'.format(self.cloud.id_token) }) self.tries = 0