Nipun commited on
Commit
463b007
·
1 Parent(s): 8f8f647

Add real Google API credentials for client-side Drive integration

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -202,7 +202,7 @@ function onAuthApiLoad() {
202
 
203
  // Initialize OAuth2
204
  gapi.auth2.init({
205
- client_id: 'YOUR_CLIENT_ID.apps.googleusercontent.com' // You'll need to add your client ID
206
  });
207
  }
208
 
@@ -226,7 +226,7 @@ function openDrivePicker() {
226
  const picker = new google.picker.PickerBuilder()
227
  .addView(google.picker.ViewId.DOCS_VIDEOS)
228
  .setOAuthToken(oauthToken)
229
- .setDeveloperKey('YOUR_API_KEY') // You'll need to add your API key
230
  .setCallback(pickerCallback)
231
  .build();
232
  picker.setVisible(true);
 
202
 
203
  // Initialize OAuth2
204
  gapi.auth2.init({
205
+ client_id: '178332609596-f0fnduvmrk0bfiojmrltb4or7msqtcoc.apps.googleusercontent.com'
206
  });
207
  }
208
 
 
226
  const picker = new google.picker.PickerBuilder()
227
  .addView(google.picker.ViewId.DOCS_VIDEOS)
228
  .setOAuthToken(oauthToken)
229
+ .setDeveloperKey('AIzaSyAOYIFpJLIFUSmNGuj1-LdtIG6X2UWJY-I')
230
  .setCallback(pickerCallback)
231
  .build();
232
  picker.setVisible(true);