|
Fix review issues for NAVI_AUTH_ENABLED feature
- Return 503 from /auth/login and /auth/callback when NAVI_AUTH_ENABLED=false - Return model_copy() of _ANONYMOUS_USER to prevent accidental mutation - Clean up __import__(datetime) in auth DDL - Reorder FakeChatSession definition before use in tests - Remove dead monkeypatch code in no-auth integration fixture - Add unit test for get_current_user_ws in no-auth mode - Add integration tests rejecting OAuth endpoints in no-auth mode Co-Authored-By: Claude <noreply@anthropic.com> |
|---|
|
|
| navi/api/routes/auth.py |
|---|
| navi/auth/_ddl.py |
|---|
| navi/auth/deps.py |
|---|
| tests/integration/test_auth_disabled.py |
|---|
| tests/unit/auth/test_deps.py |
|---|