You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
clearAuthCookiesAtScopes sends no cache headers, unlike applyServerStorage #316
clearAuthCookiesAtScopes calls setAll(toSet, {}) instead, so a response that clears the session at old scopes carries no cache headers. A shared cache (CDN, a framework's full-route cache) can then store a Set-Cookie: ...; Max-Age=0 response and replay it to other users, which signs them out, or store the page that went with it.
Fix
Pass the same no-store headers from clearAuthCookiesAtScopes, ideally through one shared constant so the two paths can't drift again.
We currently add the headers ourselves around every clear.
Activity