GDrive expiring after a week?

  1. Go to API Console
  2. Create new project
  3. Under "ENABLE APIS AND SERVICES" search for "Drive", and ENABLE the "Google Drive API".
  4. Click "Credentials" in the left-side panel
  5. Click CONFIGURE CONSENT SCREEN -> External -> CREATE -> enter name, email -> SAVE AND CONTINUE
  6. Add scopes -> Save and continue

  1. DO NOT create any test user -> Save and continue ->Back to Dashboard
  2. Credentials again -> Create Credentials -> OAuth client ID
  3. Choose "Desktop App", enter the app name ->CREATE
  4. OAuth consent screen in the left panel-> click PUBLISH APP

DONE - do not prepare any verification or go back to testing. You can close the browser create new remote with your new client_id and client_secret and start using it