google-oauth

Official

Self-hosted Google OAuth with offline token flow

AuthorShakudo-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Self-hosted Google OAuth 2.0 authentication with a local callback server and token persistence, removing the need for external intermediaries.

Core Features & Use Cases

  • Local OAuth callback server on port 3000 to capture authorization redirects.
  • Exchange authorization codes for access and refresh tokens and persist them to a .env file.
  • Automatic token refresh and support for Gmail, Calendar, Drive, and Google Ads APIs.

Quick Start

Set up a Google Cloud OAuth Client ID and Secret, then run python auth_flow.py --scopes gmail_full to start the interactive flow and save tokens to .env.

Dependency Matrix

Required Modules

httpxpython-dotenv

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: google-oauth
Download link: https://github.com/Shakudo-io/opencode-skills/archive/main.zip#google-oauth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.