feat(api): EE updated authorizer
This commit is contained in:
parent
41d7d16d03
commit
9fcba8703e
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue