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
Seems there is no way to use service account with clasp ? https://developers.google.com/apps-script/api/concepts
Can someone approve it to not waste time of other who are interesting in this topic ?
Very strange approach, mostly only service accounts available rather then 'main' account.
Expected Behavior
Login with clasp with service account key
Actual Behavior
Logging in locally…
Authorizing with the following scopes:
https://www.googleapis.com/auth/script.container.ui
https://www.googleapis.com/auth/documents
https://www.googleapis.com/auth/script.webapp.deploy
NOTE: The full list of scopes your project may need can be found at script.google.com under:
File > Project Properties > Scopes
Error retrieving access token: TypeError: Cannot destructure property 'client_id' of 'options.creds.installed' as it is undefined.
Steps to Reproduce the Problem
Create service account into GCP
Generate keys & download it
npx @google/clasp login --creds generated-key.json
Specifications
node -v
): v16.14.0clasp -v
): 2.4.2The text was updated successfully, but these errors were encountered: