fix(auth): enforce Keycloak access token age

This commit is contained in:
2026-08-05 17:10:59 +08:00
parent 1432934f12
commit 29f691731c
4 changed files with 58 additions and 3 deletions
+1
View File
@@ -53,6 +53,7 @@ class Settings(BaseSettings):
KEYCLOAK_PUBLIC_KEY: str = ""
KEYCLOAK_ALGORITHM: str = "RS256"
KEYCLOAK_AUDIENCE: str = ""
KEYCLOAK_ACCESS_TOKEN_MAX_AGE_SECONDS: int = 900
# Bocha Web Search API
BOCHA_API_KEY: str = ""