mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Cloud: Authenticate with id token (#10304)
This commit is contained in:
parent
2598770b49
commit
a4f7828363
@ -62,7 +62,7 @@ class CloudIoT:
|
|||||||
self.client = client = yield from session.ws_connect(
|
self.client = client = yield from session.ws_connect(
|
||||||
self.cloud.relayer, headers={
|
self.cloud.relayer, headers={
|
||||||
hdrs.AUTHORIZATION:
|
hdrs.AUTHORIZATION:
|
||||||
'Bearer {}'.format(self.cloud.access_token)
|
'Bearer {}'.format(self.cloud.id_token)
|
||||||
})
|
})
|
||||||
self.tries = 0
|
self.tries = 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user