Cloud: Authenticate with id token (#10304)

This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2017-11-03 07:30:05 +01:00
1 parent 2598770b49
commit a4f7828363
1 file changed
+1 -1
+1 -1
View File
@@ -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