Comments (5)
The command/flag for the Firebase CLI is login --no-localhost
As this is also Google Auth flow you might be able to reuse some of the code from their implementation https://github.com/firebase/firebase-tools
from clasp.
Will close this issue in the next release.
from clasp.
from clasp.
This is a good idea. Let's think about what the design should be:
$ clasp login --no-localhost
> Open: http://console.google.com/...
> Paste the token: ...
> Saved the credentials to ~/.clasp.rc.json.
gcloud's browserless solution: gcloud auth login --no-launch-browser
Is there a common name for browserless login flag (-f
and/or --flag
) we should use?
Temporary workaround:
Copy ~/.clasprc.json
to your machine.
from clasp.
The initial login
command didn't use localhost. When we tackle this feature, we can just use the previous login
via command line with the code here:
Lines 336 to 355 in 7588283
from clasp.
Related Issues (20)
- [FR] please provide option to specify port for clasp login
- Facing issue when tried to do clasp login with service account HOT 1
- Does clasp support Typescript 4.2? The latest version of ts2gas supports Typescript 4.2
- Feature request : set / get the GCP Project of the Script HOT 3
- .claspignore is not ignoring anything in it HOT 3
- 'clasp login' doesn't wait for response
- Access blocked: authorisation error when running clasp login
- Clasp claims it has pushed files even when Apps Script API is not enabled
- Clasp project dead ? HOT 3
- IMPORTANT: Clasp login may fail for new users HOT 2
- Clasp pull does not empty the local project folder before pulling
- Console log - incorrect time zone
- clasp push hangs if .claspignore file is present HOT 1
- A silent failure occurs if a file path listed in `filePushOrder` does not exist HOT 2
- TypeError: Missing internal module 'internal/deps/node:stream' HOT 2
- Tests are broken (access denied to "communal testing project")
- [RFC] Multiple (private) GAS targets: remotes HOT 6
- New feature of clasp revert clone! HOT 2
- [RFC] (Re)create consistent GAS project for codebase: `remote create` (multi-developer workflow)
- Unable to stop pushing manifest file appscript.json = forced to redeploy scipt after each change-push files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clasp.