#gog auth keeps expiring every few weeks making email send crons unreliable.
1 messages · Page 1 of 1 (latest)
Let me check the actual docs path and the auth behavior in source so I don’t make this up.
I’m checking whether OpenClaw has a more reliable built-in alternative than Gmail OAuth before I recommend one.
This is usually Google, not OpenClaw.
Most likely cause: your Google OAuth app is External + Testing. Google says refresh tokens in that setup can expire after 7 days for Gmail scopes, which is exactly what gog uses.
Other official Google causes:
- account password changed
- too many live refresh tokens for the same user/client
- token was revoked
- token went unused for 6 months
- Workspace admin policy / time-based access
Also, if you run OpenClaw in Docker/VM, make sure the Gmail keyring is actually persistent and GOG_KEYRING_PASSWORD stays stable, otherwise the auth can look “lost” after restarts. Docs: https://docs.openclaw.ai/install/docker-vm-runtime
What I’d do:
- Paste
openclaw --version - Check Google Cloud → OAuth consent screen → is it
TestingorProduction? - If containerized, confirm
~/.openclawis persisted andGOG_KEYRING_PASSWORDis not changing