🔑 Generate Google OAuth Refresh Token

Step 1: Create Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project or select existing one
  3. Go to APIs & Services > Credentials
  4. Click + Create CredentialsOAuth client ID
  5. Application type: Web application
  6. Add authorized redirect URI: https://developers.google.com/oauthplayground
  7. Copy the Client ID and Client Secret

Step 2: Configure OAuth Playground

  1. Go to OAuth 2.0 Playground
  2. Click the gear icon (⚙️) in the top right
  3. Check Use your own OAuth credentials
  4. Enter your Client ID and Client Secret from Step 1
  5. Click Close

Step 3: Get Refresh Token

  1. In the left panel, select:
    • ☑️ Google Calendar API v3
    • Click Authorize APIs
  2. Sign in with your Google account and grant permissions
  3. Click Exchange authorization code for tokens
  4. Copy the Refresh Token from the right panel

Step 4: Generate Configuration