Open prashilCeloxis opened 1 year ago
Can you give an update on the above issue ?
the developer key is api key
The key should not be required if a token is provided. Setting it to an empty string "fixes" the issue.
The key should not be required if a token is provided. Setting it to an empty string "fixes" the issue.
Wow - you are correct.
So the docs are incorrect when they say an API key is required.
Previously, we used to fetch files from Google Drive using the below code, which, as we can see, doesn't require a developer key. But since we are moving to React, we are using your library, which requires a developer key. Can you please tell me why I need a developer key?
gapi.load('auth', {'callback': function() { window.gapi.auth.authorize( { 'client_id': clientId, 'scope': scope, 'immediate': false }, function(authResult) { if (authResult && !authResult.error) { oauthToken = authResult.access_token; } gapi.load('picker', {'callback': function() { .... } }); }) }});