diff --git a/pusher_chatkit/pusher_chatkit.py b/pusher_chatkit/pusher_chatkit.py index e6a94a0..beaaeee 100644 --- a/pusher_chatkit/pusher_chatkit.py +++ b/pusher_chatkit/pusher_chatkit.py @@ -56,7 +56,7 @@ def generate_token(self, user_id=None, su=None): token = jwt.encode(claims, split_key[1]) - return {"token": token.decode("utf-8"), "expires_in": 24 * 60 * 60} + return {"access_token": token.decode("utf-8"), "expires_in": 24 * 60 * 60} def authenticate_user(self, user_id): """