Commit Graph

9 Commits

Author SHA1 Message Date
pradeepkumar
1e9262edfa fix: Prevent token race conditions by pre-saving access/refresh tokens to localStorage before NextAuth signIn and refining logout token clearing. 2026-03-16 13:25:32 +05:30
pradeepkumar
fd480992a3 feat: Add splash images and redesign the logout page user interface. 2026-03-10 22:48:10 +05:30
pradeepkumar
6055160b30 refactor: streamline logout process by integrating next-auth's signOut and a dedicated server action for cookie management. 2026-03-10 11:49:33 +05:30
pradeepkumar
c7f1b89203 feat: Centralize authentication redirects to middleware, remove client-side redirect logic, and refine logout process. 2026-03-10 09:28:19 +05:30
pradeepkumar
69eff70fbb feat: Implement a server-side logout action and enhance client-side logout with backend token invalidation and comprehensive local storage/cookie clearing. 2026-03-10 00:14:43 +05:30
pradeepkumar
ff5562a573 style: Enhance ChatHeader responsiveness by adding name truncation and conditional visibility for details. 2026-03-08 12:11:52 +05:30
pradeepkumar
b49b07fdd6 fix: robust logout session clearing with cookie cleanup and isLoggingOut guard
- Clear next-auth session cookies directly as backup in logout page
- Add isLoggingOut localStorage flag to prevent TokenSync/PresenceProvider from restoring tokens
- Clear isLoggingOut flag on login page load as safety net
- Add createdAt to AgentSubscription interface (fixes build error)
- Add /education to public routes in middleware
2026-03-08 12:06:07 +05:30
pradeepkumar
c28f1a71ea refactor: Centralize logout logic to a dedicated page, clear local storage, and prevent API requests during the process. 2026-03-08 01:55:46 +05:30
pradeepkumar
3d2171e0bb feat: Introduce a dedicated logout page for consistent token and session invalidation across the application. 2026-02-18 00:50:38 +05:30