feat(api): EE updated authorizer

This commit is contained in:
Taha Yassine Kraiem 2022-05-06 15:09:50 +02:00
parent 0c84c89b4f
commit ec445f88c7

View file

@ -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):