mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Cloud: Authenticate with id token (#10304)
This commit is contained in:
parent
8ed75217e1
commit
52f40b3370
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user