Use JWT for access tokens (#15972)

* Use JWT for access tokens

* Update requirements

* Improvements
This commit is contained in:
Paulus Schoutsen authored and Paulus Schoutsen committed 2018-08-14 22:06:44 +02:00
1 parent 899c2057b7
commit f5df567d09
20 files changed
+203 -155

No files matched your search

+1 -1
View File
@@ -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()