# NousResearch/hermes-agent · Google MCP OAuth missing refresh token fix

## Open now

- Nothing open on GitHub.

These items address a bug where Google-hosted MCP OAuth servers were not requesting offline access, resulting in no refresh token being issued and connections expiring after roughly one hour. The work involves fixes to the access_type parameter and device-flow issuer normalization.

## TL;DR

- 3 member(s): 0 open issue(s), 1 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 #117597. Verify it addresses your case.
- **Recommended:** read PR #117597 (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-117597`. 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.

## Closed / duplicate issues

- #117510: Google-hosted MCP OAuth (Gmail/Calendar) never requests access_type=offline — no refresh token issued, connection dies after ~1h

## Prior & competing PRs

- **#117597: fix(mcp): Google-hosted OAuth servers get a refresh token and --flow device works (#117510, salvage #117531)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_mcp_google_offline_access.py`, `tools/mcp_oauth_device.py`, `tools/mcp_oauth_provider.py`, `website/docs/user-guide/features/mcp.md`
- **#117531: fix(mcp): ask Google-hosted OAuth for offline access and normalize the device-flow issuer check**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `2a00b06212ad`, `#117597`

## Fix status

- Merged to main in PR #117597 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-21`.
