-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why do we require a developer key? #47
Comments
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. |
Wow - you are correct. So the docs are incorrect when they say an API key is required. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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() {
....
}
});
})
}});
The text was updated successfully, but these errors were encountered: