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
Desktop logout: revoke active bearer session and return to signed-out state #2268
User reports Logout does not work in desktop. Implement child PR based on and targeting 1950-epic-cross-platform-dsk (#1970), not main. Root read source: propr-ui/src/api/proprApi.ts logout uses window.proprDesktop.auth.logout(API_BASE_URL) then hash login; apps/desktop/src/ipc.ts authLogout calls desktop-session.ts cookie-session logout, whereas modern desktop uses CredentialService scoped bearer tokens. Diagnose current head; fix actual active account/profile sign-out through main-owned credential lifecycle. Invalidate renderer scope, cancel requests/socket, clear account-specific UI cache and notifications, remove/revoke correct local token (use existing durable revocation retry on offline failure), retain instance configuration and other account/profile credentials. Prevent auto-reconnect with revoked identity. Never global-clear all accounts or weaken session/CSRF/trusted sender protections. Handle errors visibly and do not report logged out while active bearer remains usable locally. Keep web logout behavior tested. Add regressions connected desktop, offline server, reload, stale requests, other profile unaffected. Coordinate with separate multi-account task: this PR owns logout lifecycle; keep independently mergeable. Link Closes this issue and parent #1970. Use ProPR implementation; no remote deployment or user profile reset.
Implemented in #2270, merged into desktop epic #1970 as e7d2a19. Combined account/logout regression verified locally: 60 UI/integration tests, 152 main/storage tests and native Electron two-account HTTP/socket smoke passed. Closing explicitly because the PR targets the epic branch rather than default main.
Activity
propr-dev commentedon Sep 10, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6-astra2268/gpt-6-astra-desktop-logout-revoke-act-20260910-2009-f3x1950-epic-cross-platform-dskissue-2268-20260910-2009-gpt-6-astra-f3x🔍 Track Task Execution
fix(ai): Resolve issue #2268 - Desktop logout: revoke active bearer s…
integry commentedon Sep 10, 2026
Implemented in #2270, merged into desktop epic #1970 as e7d2a19. Combined account/logout regression verified locally: 60 UI/integration tests, 152 main/storage tests and native Electron two-account HTTP/socket smoke passed. Closing explicitly because the PR targets the epic branch rather than default main.