Skip to content

docs: add guidance about OAuth app publishing status#91

Merged
rianjs merged 1 commit intomainfrom
docs/90-oauth-publishing-guidance
Jan 27, 2026
Merged

docs: add guidance about OAuth app publishing status#91
rianjs merged 1 commit intomainfrom
docs/90-oauth-publishing-guidance

Conversation

@rianjs
Copy link
Contributor

@rianjs rianjs commented Jan 27, 2026

Summary

  • Add new setup step in README explaining Testing vs Production mode
  • Add troubleshooting entry for "token expires every 7 days"
  • Add tip after gro init success about publishing the app
  • Add note in credentials setup instructions

Problem

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

  • Verify README renders correctly
  • Run gro init and verify the tip appears after successful auth

Closes #90

🤖 Generated with Claude Code

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>
@rianjs rianjs merged commit a6a7784 into main Jan 27, 2026
2 checks passed
@rianjs rianjs deleted the docs/90-oauth-publishing-guidance branch January 27, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add guidance about OAuth app publishing status

1 participant