Fix #4 jwt decode afater update of hA to pyjwt 2.1.0

This commit is contained in:
2021-10-10 12:59:12 +02:00
parent fe073cff55
commit b17f38ee66
3 changed files with 4 additions and 4 deletions

View File

@@ -184,7 +184,7 @@ class GeoRideContext:
async def get_token(self):
""" here we return the current valid tocken """
jwt_data = jwt.decode(self._token, verify=False)
jwt_data = jwt.decode(self._token, options={"verify_signature": False})
exp_timestamp = jwt_data['exp']
epoch = math.ceil(time.time())