Why your Google OAuth refresh token expires every 7 days — and the publishing-status fix that works WITHOUT completing app verification (single-user Gmail/Calendar/Drive automation, restricted scopes).
-
Updated
Jun 2, 2026
Why your Google OAuth refresh token expires every 7 days — and the publishing-status fix that works WITHOUT completing app verification (single-user Gmail/Calendar/Drive automation, restricted scopes).
Concurrency-safe OAuth2 token refresh: single-flight, correct rotation/merge, atomic persistence. Zero deps.
Add a description, image, and links to the invalid-grant topic page so that developers can more easily learn about it.
To associate your repository with the invalid-grant topic, visit your repo's landing page and select "manage topics."