Skip to main content

google

google — ɳSelf documentation.

Google Plugin

Google OAuth2 token management with proxy APIs for Gmail, Drive, Calendar, and Sheets. Manages token refresh automatically. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Install

nself license set nself_pro_xxxxx...
nself plugin install google

What It Does

Provides Google OAuth2 token management and proxy APIs for Gmail, Drive, Calendar, and Sheets. Handles automatic token refresh so your application never needs to manage expiry. Exposes unified REST endpoints for all four Google services under a single authenticated proxy.

Configuration

Env VarDefaultDescription
GOOGLE_PORT3717Port the Google plugin service listens on
GOOGLE_CLIENT_IDnoneGoogle OAuth2 client ID
GOOGLE_CLIENT_SECRETnoneGoogle OAuth2 client secret
GOOGLE_REDIRECT_URInoneOAuth2 redirect URI registered in Google Cloud Console

Ports

PortPurpose
3717Google plugin HTTP service

Database Tables

2 tables added to your Postgres database.

  • np_google_tokens: OAuth2 access and refresh tokens per user
  • np_google_sync_log: Sync event log for Google API operations

Nginx Routes

RouteDescription
/google/Proxied to Google plugin service on port 3717