Error when using access token obtained via gcloud auth print-access-token with @google-cloud/logging v11.2.0 #1531
Labels
api: logging
Issues related to the googleapis/nodejs-logging API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When using the command
gcloud auth print-access-token --lifetime=3600 --impersonate-service-account=xxx
to obtain anaccess_token
and calling the following method:nodejs-logging/src/log.ts
Line 610 in 9d1d480
The options sent were:
The error returned is:
Is this the intended behavior? I understand that access tokens are accepted for authentication by most Google APIs. Does this API not support access tokens? It would be greatly appreciated if access token support could be added.
Environment details
@google-cloud/logging
version: v11.2.0Steps to reproduce
gcloud auth print-access-token --lifetime=3600 --impersonate-service-account=xxx
The text was updated successfully, but these errors were encountered: