CodeTracked since May 19, 2026
Clear auth-scoped caches on auth transitions to prevent stale dashboard state
Fixes a user-facing stale-state bug by treating authentication transitions as cache boundaries: when login/logout/auth errors or authenticated user-id changes occur, InsForge removes auth-scoped queries (apiKey, metadata, users, database tables, usage) so the dashboard recovers with the current user’s data instead of showing old or blank content.
AuthProviderauth-scoped query cacheReact QueryAbortSignal.any