docs: add guidance about OAuth app publishing status#91
Merged
Conversation
Add documentation to help users understand they should publish their OAuth app to avoid 7-day token expiration: - README: New setup step explaining Testing vs Production mode - README: Troubleshooting entry for token expiration - init command: Tip after successful auth about publishing - init command: Note in credentials setup instructions Apps in "Testing" mode have refresh tokens that expire after 7 days, forcing frequent re-authentication. Publishing the app (which is straightforward for personal use with read-only scopes) extends token lifetime to 6 months of inactivity. Closes #90 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gro initsuccess about publishing the appProblem
When users create their own OAuth credentials in Google Cloud Console, the app defaults to "Testing" publishing status. In testing mode, refresh tokens expire after 7 days, forcing users to re-authenticate frequently with no indication of why.
Solution
Document that users should click "Publish app" in their OAuth consent screen settings. For personal use with read-only scopes, this is straightforward and doesn't require Google verification.
Test plan
gro initand verify the tip appears after successful authCloses #90
🤖 Generated with Claude Code