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.
- Open the Google OAuth Playground
- Click the ⚙ gear icon (top-right) → check "Use your own OAuth credentials"
- Paste your Client ID and Client Secret (auto-detected below), then close the panel
- 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 - Sign in with your YouTube channel account and click Allow
- Click "Exchange authorization code for tokens" → copy the refresh_token below
Client ID:
820761864046-bp4gtlco195efs64vblr1pfi6q0ouvni.apps.googleusercontent.comClient 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.
