# NousResearch/hermes-agent · Desktop auth token handling and session errors

## Open now

- 1 issue, 0 PRs open on GitHub.
- #90323: \[Bug\]: Desktop oauth ticket path vs basic-only dashboard reports session expired (safeStorage decrypt too)

These items address bugs and fixes related to desktop authentication, including OAuth ticket paths, native token decryption failures, and binding auth envelopes to their correct connections. All three concern how the desktop client manages and recovers from authentication state problems.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #95085. Verify it addresses your case.
- **Recommended:** read PR #95085 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #90323: \[Bug\]: Desktop oauth ticket path vs basic-only dashboard reports session expired (safeStorage decrypt too)

## Prior & competing PRs

- **#95085: fix(desktop): auth envelopes and backend processes stay bound to their connection (multi-gateway classes 5+6, tracker #94724)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/connection-apply.test.ts`, `apps/desktop/electron/connection-apply.ts`, `apps/desktop/electron/connection-registry.test.ts`, `apps/desktop/electron/connection-registry.ts`, `apps/desktop/electron/main.ts`, `apps/desktop/electron/native-auth-decisions.test.ts`, `apps/desktop/electron/native-auth-decisions.ts`, `apps/desktop/electron/native-oauth.test.ts`, `apps/desktop/electron/native-oauth.ts`, `apps/desktop/electron/primary-backend-startup.test.ts`, `apps/desktop/electron/primary-backend-startup.ts`, `apps/desktop/electron/remote-lifecycle.test.ts`, `apps/desktop/electron/remote-lifecycle.ts`, `apps/desktop/electron/remote-ws-headers.test.ts`, `apps/desktop/electron/remote-ws-headers.ts`, `apps/desktop/electron/ssh-bootstrap-coordinator.test.ts`, `apps/desktop/electron/ssh-bootstrap-coordinator.ts`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts`, `apps/desktop/src/app/settings/gateway-settings.test.ts`, `apps/desktop/src/app/settings/gateway-settings.tsx` (+9 more)
- **#90685: fix(desktop): treat ticket 401 as sign-in when native tokens are unreadable**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `25d46c788`, `#95085`, `#94724`

## Fix status

- Merged to main in PR #95085 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-26`.
- Subsystem: `apps/desktop`
