Skip to content

docs(google): stop the 7-day refresh-token expiry from breaking calendar sync - #411

Open
adamecker wants to merge 1 commit into
jherforth:mainfrom
adamecker:docs/google-7day-token-trap
Open

adamecker wants to merge 1 commit into
jherforth:mainfrom
adamecker:docs/google-7day-token-trap

Conversation

@adamecker

Copy link
Copy Markdown
Contributor

A user set up Google Calendar sync, it worked for a week, then new events stopped appearing — no error, manual refresh changed nothing. The cause was the OAuth consent screen still being in Testing: Google expires refresh tokens issued in Testing after 7 days, so the connection silently dies.

The setup guide already named the 7-day trap, but only in the background "Verification" section, and the troubleshooting row for "Calendar events do not appear" never mentioned an expired token — so the symptom and the cause never met. This change:

  • Promotes publishing the consent screen to a numbered step in §4 (publish before authorizing), with the note that tokens minted while in Testing keep the 7-day clock even after publishing, so publishing late means re-authorizing.
  • Adds the Internal user type note to §1: Internal apps have no Testing status and no 7-day cap, but only Workspace accounts can use them — a personal Gmail must use External.
  • Adds the expired-token cause to the "Calendar events do not appear" troubleshooting row, and lists publishing in the intro's steps people miss.
  • Links the guide from the Google Account section of the Admin Panel, so the instructions are one click away at setup time instead of only in docs/.

Verified: client tests 1134/1134 pass, client build succeeds.

Generated with Muse AI 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant