node-google-spreadsheet icon indicating copy to clipboard operation
node-google-spreadsheet copied to clipboard

Adds new auth mode to use the default google auth client

Open lmartelli opened this issue 2 years ago • 3 comments

Works out of the box when deployed on GCP, or using GOOGLE_APPLICATION_CREDENTIALS env var for local dev.

lmartelli avatar Jan 20 '22 10:01 lmartelli

I think this makes AUTH_MODES.OAUTH redundant, so I removed it but let useOAuth2Client for backward compatibility.

lmartelli avatar Jan 20 '22 10:01 lmartelli

+1 for this to get merged if it actually works.

suciubogdan avatar May 25 '22 13:05 suciubogdan

👍

horiken4 avatar Jun 27 '22 12:06 horiken4

It would be fantastic to have this in the library 😍

horaklukas avatar Nov 01 '22 09:11 horaklukas

+1

MacieGx avatar Feb 16 '23 14:02 MacieGx

Thanks for contributing. I was in the middle of a big typescript rewrite that took longer than expected...

I worked this functionality into the new code - see https://theoephraim.github.io/node-google-spreadsheet/#/guides/authentication?id=adc

theoephraim avatar Jun 26 '23 08:06 theoephraim