SurfSense/surfsense_web
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
..
.vscode
app Fix translation keys, session persistence, and add admin tools 2025-11-18 21:01:28 +02:00
atoms clean up 2025-11-17 08:10:12 +02:00
components Fix translation keys, session persistence, and add admin tools 2025-11-18 21:01:28 +02:00
content/docs Fix documentation: Remove deleted Google OAuth images, clarify auth is email-only 2025-11-18 14:05:55 +02:00
contexts Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
contracts update login form 2025-11-17 08:10:12 +02:00
hooks Fix complete session handling for 401 errors in all hooks 2025-11-18 20:30:37 +00:00
i18n feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
lib Fix complete session handling for 401 errors in all hooks 2025-11-18 20:30:37 +00:00
messages feat: improved onboarding 2025-11-16 15:54:54 -08:00
public Implement dynamic social media link management system 2025-11-17 20:44:17 +00:00
.cursorrules
.dockerignore
.env.example Remove Google OAuth from login/register, enforce email-only authentication 2025-11-18 14:04:38 +02:00
.gitignore
biome.json
components.json
Dockerfile
drizzle.config.ts
eslint.config.mjs
LICENSE
mdx-components.tsx
middleware.ts feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
next.config.ts feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
package-lock.json
package.json chore(dependencies): update Next.js and add Google Analytics support 2025-11-13 03:38:36 -08:00
pnpm-lock.yaml chore(dependencies): update Next.js and add Google Analytics support 2025-11-13 03:38:36 -08:00
postcss.config.mjs
source.config.ts
tailwind.config.js
tsconfig.json