feat: add django user center auth integration

This commit is contained in:
刘金宝
2026-06-01 14:28:43 +08:00
parent b80e298b4f
commit 338e2c8e1d
12 changed files with 330 additions and 17 deletions
+7
View File
@@ -13,6 +13,13 @@ RUNTIME_MEMORY_BACKEND=redis
REDIS_URL=redis://localhost:6379/0
RUNTIME_MEMORY_TTL_SECONDS=7200
# Django user center auth for frontend integration
AUTH_VALIDATE_ENABLED=false
AUTH_USER_ME_URL=http://192.168.2.76:8000/api/user/users/me/
AUTH_TIMEOUT_SECONDS=5
AUTH_CACHE_TTL_SECONDS=300
AUTH_ALLOW_DEMO_USER_ID=true
# OpenAI-compatible LLM
LLM_BASE_URL=https://api.deepseek.com/chat/completions
LLM_API_KEY=