diff --git a/ee/api/chalicelib/core/authorizers.py b/ee/api/chalicelib/core/authorizers.py index 149d570ab..5adf3e61a 100644 --- a/ee/api/chalicelib/core/authorizers.py +++ b/ee/api/chalicelib/core/authorizers.py @@ -52,7 +52,7 @@ def generate_jwt(id, tenant_id, iat, aud, exp=None): key=config("jwt_secret"), algorithm=config("jwt_algorithm") ) - return token.decode("utf-8") + return token def api_key_authorizer(token):