stephenplusplus / google-auto-auth

Making it as easy as possible to authenticate a Google API request
MIT License
34 stars 9 forks source link

Accept and cache project ID. #30

Closed stephenplusplus closed 6 years ago

stephenplusplus commented 6 years ago

This is part 1/2 of a resolution for https://github.com/googleapis/nodejs-datastore/issues/27

This PR allows users to provide their own project ID. This will be preferred over one that is detected by google-auth-library (which sometimes, might not detect anything).