Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bdetry opened this issue Jan 26, 2023 · 3 comments
Closed

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

bdetry opened this issue Jan 26, 2023 · 3 comments

Comments

@bdetry
Copy link

bdetry commented Jan 26, 2023

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.

@TrevorDecker
Copy link

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

@leetutoring
Copy link

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.

@sqrrrl
Copy link
Member

sqrrrl commented Jan 8, 2025

Consolidating in #962

@sqrrrl sqrrrl closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants