Generate Access And Refresh Tokens for Integration

  1. Navigate to the below url.
  2. Click the gear gearicon icon located on the top right corner for OAuth configuration.
    OAuth20Playground Page
  3. Enable Use your own OAuth credentials checkbox and enter Client ID and Client secret details in the text boxes provided.
    OAuth20Playground Configuration
  4. In the left side section, click Drive API v3 and select the first one as shown below.
    OAuth20Playground Select API
  5. Click Authorize APIs button.
  6. Select your google account and click Allow to give access.
    Give Access To Application
  7. Click Exchange authorization code for tokens button.
    Click Exchangeauthorizationcodefortokensbutton
  8. Copy the Refresh and Access tokens.
    OAuth20Playground Accessand Refresh Tokens