Root Cause: - FastAPI cannot use same parameter name in endpoint and dependency - Query param 'token' conflicted between endpoint and require_auth_flexible - FastAPI cached dependency signatures at startup Solution: - Renamed to 'ssetoken' in require_auth_flexible (backend/auth.py) - Updated frontend to use ssetoken (frontend/src/utils/api.js) - Removed debug logging - Added test endpoint /test-ssetoken Testing: ✅ Header auth: X-Auth-Token works ✅ Query auth: ?ssetoken=XXX works ✅ SSE streaming: Ready for testing Note: Required full rebuild, not just restart Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| Dockerfile | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||