Skip to content

fix: Preserve refresh token when provider omits it from response - #8

Merged
joshuaclayton merged 1 commit into
mainfrom
refresh-token-fixes
Apr 2, 2026
Merged

fix: Preserve refresh token when provider omits it from response#8
joshuaclayton merged 1 commit into
mainfrom
refresh-token-fixes

Conversation

@joshuaclayton

Copy link
Copy Markdown
Owner

RFC 6749 §6 allows the server to omit refresh_token from the refresh
response when the original remains valid (e.g. Google). Previously,
exchange_refresh_token would pass through None, causing downstream CLIs
to lose the refresh token and require re-authentication on next run.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

RFC 6749 §6 allows the server to omit refresh_token from the refresh
response when the original remains valid (e.g. Google). Previously,
exchange_refresh_token would pass through None, causing downstream CLIs
to lose the refresh token and require re-authentication on next run.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joshuaclayton
joshuaclayton merged commit e82687c into main Apr 2, 2026
8 checks passed
@joshuaclayton
joshuaclayton deleted the refresh-token-fixes branch April 2, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant