Cloud: Authenticate with id token (#10304)

This commit is contained in:
Paulus Schoutsen 2017-11-02 23:30:05 -07:00
parent 8ed75217e1
commit 52f40b3370

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