Use JWT for access tokens (#15972)
* Use JWT for access tokens * Update requirements * Improvements
This commit is contained in:
1 parent
ee5d49a033
commit
e776f88eec
20 files changed
+203
-155
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user