Anthropic OAuth token rotation and refresh handling
Cluster 92606 · agent. Data as of
1 open item. Fix merged in #98245 on 30 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 0 issues already closed.
- Fix event
- A fix was merged to main in PR #98245. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 0 PRs.
Next step: read #98245, then check whether your report is the one still open.
Read #98245Pick up a Lab taskThese items concern a bug where stale credential files overwrite rotated tokens and shared refresh logic incorrectly consumes single-use tokens, leading to 401 errors and empty pools. The work addresses keeping OAuth sessions valid through token rotation.
Open issues1
- Issue#92606Anthropic OAuth (hermes_pkce/dashboard_pkce): stale credential file overwrites rotated token and two pool rows share one single-use refresh token -> 401 revoked -> empty pool
Open PRs0
Fixes on record
-
#98245 Anthropic OAuth: shared-credential refreshes stop burning single-use tokens; dashboard PKCE removed (salvage #87891)
files:
agent/anthropic_adapter.py,agent/anthropic_credentials.py,agent/anthropic_endpoints.py,agent/anthropic_message_convert.py,agent/auxiliary_client.py,agent/credential_persistence.py,agent/credential_pool.py,hermes_cli/auth.py,hermes_cli/web_server.py,tests/agent/test_anthropic_adapter.py,tests/agent/test_anthropic_borrowed_row_authority.py,tests/agent/test_anthropic_credential_persist_failure.py,tests/agent/test_anthropic_keychain.py,tests/agent/test_anthropic_oauth_stress.py,tests/agent/test_anthropic_spent_rotation_verdict.py,tests/agent/test_anthropic_token_scope_isolation.py,tests/agent/test_auxiliary_client.py,tests/agent/test_credential_pool.py,tests/agent/test_credential_pool_anthropic_refresh_race.py,tests/agent/test_credential_pool_oat_authtype.py(+9 more)
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#92619 fix(auth): keep Anthropic OAuth sessions valid after token rotation · superseded by another PR →
b4403a9,#98245,#87891
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #98245
- Closed issues
- 0
- Attempts
- 1 PR closed without merging
- Fix link checked
- 30 Aug 2026