diff --git a/ee/api/chalicelib/core/users.py b/ee/api/chalicelib/core/users.py index 97a90960e..473c0aff0 100644 --- a/ee/api/chalicelib/core/users.py +++ b/ee/api/chalicelib/core/users.py @@ -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