From ec445f88c7bd6216ed5330972a9e5ca16c40f31c Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Fri, 6 May 2022 15:09:50 +0200 Subject: [PATCH] feat(api): EE updated authorizer --- ee/api/chalicelib/core/authorizers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):