Use JWT for access tokens (#15972)
* Use JWT for access tokens * Update requirements * Improvements
This commit is contained in:
parent
ee5d49a033
commit
e776f88eec
20 changed files with 203 additions and 155 deletions
|
@ -28,7 +28,7 @@ def hass_ws_client(aiohttp_client):
|
|||
|
||||
await websocket.send_json({
|
||||
'type': websocket_api.TYPE_AUTH,
|
||||
'access_token': access_token.token
|
||||
'access_token': access_token
|
||||
})
|
||||
|
||||
auth_ok = await websocket.receive_json()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue