Cloud: Authenticate with id token (#10304)

pull/10307/head
Paulus Schoutsen 2017-11-02 23:30:05 -07:00 committed by Pascal Vizeli
parent 2598770b49
commit a4f7828363
1 changed files with 1 additions and 1 deletions

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