feat(api): EE updated authorizer

This commit is contained in:
Taha Yassine Kraiem 2022-05-06 15:09:50 +02:00
parent 41d7d16d03
commit 9fcba8703e

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