SurfSense/surfsense_web/lib
Claude f8fc3fa9c4
Fix complete session handling for 401 errors in all hooks
- Add baseApiService token clearing on 401 in use-user.ts
- Add baseApiService token clearing on 401 in use-chats.ts (both fetchChats and deleteChat)
- Add baseApiService token clearing on 401 in use-search-space.ts
- Update all redirects to /login?error=session_expired for better UX
- Add session_expired error message to auth-errors.ts

This ensures consistent session invalidation across all API hooks,
preventing stale auth state in the baseApiService singleton.
2025-11-18 20:30:37 +00:00
..
apis fix build error 2025-11-17 08:10:12 +02:00
connectors Merge remote-tracking branch 'upstream/main' into feature/elasticsearch-connector 2025-10-16 16:24:37 +05:30
query-client Refactor register page 2025-11-17 08:10:12 +02:00
auth-errors.ts Fix complete session handling for 401 errors in all hooks 2025-11-18 20:30:37 +00:00
error.ts Refactor register page 2025-11-17 08:10:12 +02:00
pagination.ts chore: biome & ruff checks 2025-10-01 18:50:36 -07:00
source.ts Biome: fixes for hooks & lib directory 2025-07-27 10:44:27 -07:00
utils.ts Refactor register page 2025-11-17 08:10:12 +02:00