Skip to content

docs: improve OAuth error 403 troubleshooting and test user setup#869

Open
dandaka wants to merge 1 commit intoinsanum:mainfrom
dandaka:improve-oauth-error-403-docs
Open

docs: improve OAuth error 403 troubleshooting and test user setup#869
dandaka wants to merge 1 commit intoinsanum:mainfrom
dandaka:improve-oauth-error-403-docs

Conversation

@dandaka
Copy link
Copy Markdown

@dandaka dandaka commented Jan 26, 2026

Summary

Improves the API authentication documentation to help users avoid the common Error 403: access_denied issue during OAuth setup.

Problem

Many users encounter the error "Access blocked: gcalcli has not completed the Google verification process" when first setting up gcalcli. This happens when they attempt to authenticate before adding their email address as a test user in the OAuth consent screen configuration.

Changes

  • Added troubleshooting section for Error 403 with clear solution steps
  • Clarified OAuth consent screen configuration - explicitly list the test user setup steps
  • Added note about "Testing" mode - explain that apps remain in testing mode for personal use
  • Improved OAuth flow expectations - explain the "Google hasn't verified this app" warning is expected and safe

Why This Matters

This change addresses a common setup issue that blocks users from completing the initial authentication flow. By clarifying the test user requirement upfront and providing troubleshooting guidance, users can complete setup successfully on their first attempt.

Generated with Claude Code


This pull request improves the documentation for API authentication by:

  • Enhancing OAuth2 Consent Screen Setup Instructions: Provides more detailed steps for creating the OAuth2 consent screen, including selecting "External" user type, clarifying the order of information entry, and explicitly detailing the process of adding test users. It also adds a note explaining that the app will remain in "Testing" mode for personal use.
  • Updating OAuth Flow Warning Description: Refines the description of the security warning users will encounter during the OAuth flow, specifying it as "Google hasn't verified this app" and guiding users to click "Continue" (potentially after "Advanced").
  • Adding Troubleshooting for Error 403: Introduces a new troubleshooting section specifically addressing Error 403: access_denied when "gcalcli has not completed the Google verification process." It explains that this error occurs if the authenticating email is not added as a test user and provides a clear solution to add the email in the OAuth consent screen.

Add troubleshooting section for common Error 403: access_denied issue
that occurs when users attempt authentication before adding test users.

Changes:
- Add troubleshooting section explaining Error 403 and solution
- Clarify OAuth consent screen test user configuration steps
- Explain "Google hasn't verified this app" warning is expected
- Emphasize test users must be added before running gcalcli init

This addresses a common setup issue where users encounter access_denied
errors because they skip or don't realize they need to add themselves
as test users in the OAuth consent screen.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@kody-ai
Copy link
Copy Markdown

kody-ai Bot commented Jan 26, 2026

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

Automatic Review: Kody reviews this PR automatically on every push.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the `@kody start-review` command at the root of your PR.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Cross File

Access your configuration settings here.

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.

1 participant