-
Notifications
You must be signed in to change notification settings - Fork 368
Open
Description
Summary
I’m seeing daily forced re-auth with a Google Workspace account when using gog (Tasks and other services).
The stored token exists, but API calls fail with:
oauth2: "invalid_grant" "reauth related error (invalid_rapt)"
This happens roughly every day, not every 7 days.
Environment
- gog version: v0.11.0
- OS: Linux (WSL2)
- Account type: Google Workspace (
@profittale.com) - Keyring backend: file
- Services used: tasks,gmail,calendar,drive,contacts,docs,sheets
What I expected
Long-lived refresh token behavior (or at least not daily forced re-auth).
What happens
After successful auth, commands later fail with:
Get "https://tasks.googleapis.com/tasks/v1/users/@me/lists?...":
round trip: oauth2: "invalid_grant" "reauth related error (invalid_rapt)"
"https://support.google.com/a/answer/9368756"
Then I must re-auth again.
Repro steps
- Run:
gog auth add <workspace-email> --services tasks,gmail,calendar,drive,contacts,docs,sheets - Verify auth/token is present:
gog auth list - Run:
gog tasks lists --json --results-only - Works initially, then later fails with
invalid_raptand requires re-auth again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels