-
v0.1.1-dev.2
Pre-releaseAll checks were successfulCorn CI / release-check-1 (push) Successful in 2sCorn CI / release-check (push) Successful in 0sCorn Release / release-1 (push) Successful in 4sCorn Release / release (push) Successful in 0sCorn CI / host (push) Successful in 17sCorn CI / test (push) Successful in 2m29sCorn CI / release (push) Successful in 2m18sArchitecture Wiki / publish architecture (push) Successful in 54sreleased this
2026-11-26 01:15:04 +00:00 | 30 commits to main since this releasev0.1.1-dev.2
Linked MCP accounts stay signed in, and public OAuth clients such as PocketSmith's hosted MCP work end to end.
- Background credential refresher (generic). A new
corn.refresher.CredentialRefreshersweeps registered credential sources on an interval and renews grants before they expire. Linked MCP accounts (CORN_UPSTREAM_MCP_SERVERS) are the first source; other credential families can register their ownsweep(min_validity). Only one replica sweeps at a time (database leasecredential-refresher). On-demand refresh at call time is unchanged and remains the correctness path.CORN_REFRESH_INTERVAL_SECONDS(default1800,0disables)CORN_REFRESH_MIN_VALIDITY_SECONDS(default2400): grants with less remaining lifetime are refreshed. With the defaults, a one-hour token is renewed before it can expire between two sweeps.
- RFC 8707
resourceon every token request. When an upstream setsresource, Corn now sends it on the authorization-code exchange and on refreshes too, not only on the authorization request, as the MCP authorization spec requires. - Transient refresh failures keep the grant. Network errors,
429and5xxfrom the token endpoint no longer delete the user's linked account; the current token is used while still valid and the tool error says to retry. Only a rejected refresh token (4xx) disconnects. - Grants without a refresh token are used until they expire instead of being deleted early, and the Connections page shows whether each linked account renews automatically.
No configuration change is required; the refresher starts with the defaults.
Source commit
7993f8203070cb752ad444a73ad9f7aaa3ef973d.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Background credential refresher (generic). A new