🔑 Generate Google OAuth Refresh Token
Step 1: Create Google Cloud Project
- Go to Google Cloud Console
- Create a new project or select existing one
- Go to APIs & Services > Credentials
- Click + Create Credentials → OAuth client ID
- Application type: Web application
- Add authorized redirect URI:
https://developers.google.com/oauthplayground
- Copy the Client ID and Client Secret
Step 2: Configure OAuth Playground
- Go to OAuth 2.0 Playground
- Click the gear icon (⚙️) in the top right
- Check Use your own OAuth credentials
- Enter your Client ID and Client Secret from Step 1
- Click Close
Step 3: Get Refresh Token
- In the left panel, select:
- ☑️ Google Calendar API v3
- Click Authorize APIs
- Sign in with your Google account and grant permissions
- Click Exchange authorization code for tokens
- Copy the Refresh Token from the right panel