CLAUDE: Extend access token expiration to 24 hours

Changed ACCESS_TOKEN_MAX_AGE from 1 hour to 24 hours to reduce
frequency of re-authentication prompts.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-01-16 09:57:34 -06:00
parent f8435a2fae
commit 5562d8de36

View File

@ -16,7 +16,7 @@ settings = get_settings()
# Cookie configuration
ACCESS_TOKEN_COOKIE = "pd_access_token"
REFRESH_TOKEN_COOKIE = "pd_refresh_token"
ACCESS_TOKEN_MAX_AGE = 60 * 60 # 1 hour
ACCESS_TOKEN_MAX_AGE = 60 * 60 * 24 # 24 hours
REFRESH_TOKEN_MAX_AGE = 60 * 60 * 24 * 7 # 7 days