APIs & Services → Library → Search Google Drive API → Enable itAPIs & Services → OAuth consent screen → Choose External → Fill your app name & email → Add your email as Test User → SaveCredentials → Create Credentials → OAuth Client ID → Choose Web application → Under Authorised JavaScript origins add your app URL → Create