You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use your package and noticed that the steps listed below have now been modified while in Google's console:
Under "OAuth", click the "Create new client ID" button.
Select "Service account" as the application type and click "Create Client ID".
When I click on "Create Credentials" I have a services account option in the dropdown. Once I select that and follow the rest of your steps I'm hitting an error while running the following code:
I am trying to use your package and noticed that the steps listed below have now been modified while in Google's console:
When I click on "Create Credentials" I have a services account option in the dropdown. Once I select that and follow the rest of your steps I'm hitting an error while running the following code:
var googleAuth = require('google-oauth-jwt');
googleAuth.authenticate({
email: '[email protected]',
keyFile: 'my-service-account-key.pem',
scopes: ['https://www.googleapis.com/auth/drive.readonly']
}, function (err, token) {
console.log(token);
});
I receive the following Error:
Error: failed to obtain an authentication token, request failed with HTTP code 401: invalid_client
.I didn't see a clientId in the new service account process, but I might have made a mistake somewhere. Thank you again for your time.
The text was updated successfully, but these errors were encountered: