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
Apps script API works with service accounts if the script is owned by a user and shared with the service account. However, a service account can not own the script itself nor enable use of the Apps Script API, so some commands like create & run won't work using service account credentials. Still need to check if version & deploy work.
But if the goal is to lock down CI, it may be viable as only a handful of commands need to work. And since scripts would have to be explicitly shared with the service account, it would help limit access.
Expected Behavior
Login with clasp with service account key
Actual Behavior
Logging in locally…
Authorizing with the following scopes:
https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/script.external_request
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
Specifications
node -v
): v14.21.1clasp -v
): 2.3.1 or 2.4.2The text was updated successfully, but these errors were encountered: