Implement identity token verification for Cloud Run deployments: - Add auth module with GCP identity token verification - Add configurable auth settings (AUTH_ENABLED, AUTH_AUDIENCE) - Add service account allowlist for access control - Protect /chat and /chat/stream endpoints with auth dependency - Add google-auth dependency for token verification Auth can be disabled for local development via AUTH_ENABLED=false. |
||
|---|---|---|
| .. | ||
| llm | ||
| __init__.py | ||
| auth.py | ||
| config.py | ||
| main.py | ||
| schemas.py | ||