YouTube OAuth Token Minter

Mint a refresh token bound to YOUR Google Cloud client. Use the Google Playground method below — no redirect URI registration needed.

Google OAuth Playground

Google's own Playground handles the callback — no redirect URI to register.

  1. Open the Google OAuth Playground
  2. Click the ⚙ gear icon (top-right) → check "Use your own OAuth credentials"
  3. Paste your Client ID and Client Secret (auto-detected below), then close the panel
  4. In the left panel, paste these scopes and click Authorize APIs:
    https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/yt-analytics.readonly
  5. Sign in with your YouTube channel account and click Allow
  6. Click "Exchange authorization code for tokens" → copy the refresh_token below
Client ID: 820761864046-bp4gtlco195efs64vblr1pfi6q0ouvni.apps.googleusercontent.com
Client Secret: ••••• hidden (stored in secrets)

You'll need the Client Secret value too — find it in Google Cloud → Credentials → your OAuth client. The Playground asks for it in the gear panel.