# NousResearch/hermes-agent · OAuth credential not persisted in named profiles

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where adding a first single-use OAuth credential to a named profile appeared to succeed but was silently dropped rather than saved. The work targets profile-scoped auth persistence when the root credential store is empty.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #134574. Verify it addresses your case.
- **Recommended:** read PR #134574 (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: `resolved` · deciding PR(s): `pr-134574`. 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.50`: 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.

## Closed / duplicate issues

- #120177: \[Bug\]: First Codex OAuth credential in a named profile reports success but is not persisted

## Prior & competing PRs

- **#134574: fix(auth): a profile's own auth add login is saved and kept, never forking root's grant (salvage #126551)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/credential_pool.py`, `agent/credential_pool_admin.py`, `hermes_cli/auth_commands.py`, `hermes_cli/auth_oauth_grants.py`, `tests/agent/test_credential_pool_profile_oauth_fork.py`, `website/docs/user-guide/profiles.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/profiles.md`
- **#120210: fix(auth): persist first single-use OAuth add to the named profile**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#120177`, `#134574`, `#101827`
- **#126551: fix(auth): profile-scoped auth add with an empty root saves the credential instead of dropping it (salvage #103712 + #101827)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#134574`, `#101827`

## Fix status

- Merged to main in PR #134574 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-07`.
- Subsystem: `agent`
