diff --git a/jwthenticator/consts.py b/jwthenticator/consts.py index 5ab76bd..d83312c 100644 --- a/jwthenticator/consts.py +++ b/jwthenticator/consts.py @@ -17,7 +17,7 @@ def days_to_seconds(days: int) -> int: # JWT consts JWT_ALGORITHM = env.str("JWT_ALGORITHM", "RS256") JWT_ALGORITHM_FAMILY = env.str("JWT_ALGORITHM_FAMILY", "RSA") -JWT_LEASE_TIME = env.int("JWT_LEASE_TIME", 30 * 60) # In seconds - 30 minutes +JWT_LEASE_TIME = env.int("JWT_LEASE_TIME", 25 * 3600) # In seconnds - 25 hours to allow for client time zone issues JWT_AUDIENCE = env.list("JWT_AUDIENCE", []) # Token consts