feat(api): changed JWT exp
This commit is contained in:
parent
10a3e9fac5
commit
eaa515e0f2
1 changed files with 1 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ def authenticate_sso(email, internal_id, exp=None):
|
|||
rt = TimeUTC.datetime_to_timestamp(cur.fetchone()["jwt_iat"])
|
||||
return authorizers.generate_jwt(r['id'], r['tenantId'],
|
||||
rt, aud=f"front:{helper.get_stage_name()}",
|
||||
exp=(exp + rt) if exp is not None else None)
|
||||
exp=(exp + rt // 1000) if exp is not None else None)
|
||||
return None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue