clasp icon indicating copy to clipboard operation
clasp copied to clipboard

Provide a working solution for --no-localhost for service accounts

Open bdetry opened this issue 2 years ago β€’ 2 comments

We use Appscrpit more and more every week, we have unit tests working, we also write it with typescript via an IDE. CI is configured, but it always breaks, workarounds are not 100% functional for us.

A working machine-to-machine login could really boost the way we use this solution.

Expected Behavior

Be able to run clasp login on a CI with service account credential files.

Actual Behavior

Feature is broken.

bdetry avatar Jan 26 '23 10:01 bdetry

I am also seeing this problem. the error I receive is You can’t sign in because clasp – The Apps Script CLI sent an invalid request. You can try again later, or contact the [developer](https://accounts.google.com/) about this issue. [Learn more about this error](https://support.google.com/accounts/answer/12379384) If you are a developer of clasp – The Apps Script CLI, see [error details](https://accounts.google.com/). Error 400: invalid_request

I am observing this on both mac os and debian linux

TrevorDecker avatar Mar 24 '23 05:03 TrevorDecker

I believe I'm having the same issue having to do with OOB support. I can login using localhost, but this won't work on my remote machine on which I do all my development. When I try to make clasp login --no-localhost work, it fails with the above error message.

leetutoring avatar Mar 29 '24 17:03 leetutoring