How to login to `firebase-tools` on headless remote server?

人盡茶涼 提交于 2019-12-04 04:03:23

You can use firebase login --no-localhost

It will then prompt a url you can visit from any browser (no matter the machine), like your host.

Log in with your Google account as usual and accept the permission request.

Finally, copy the provided authorization code

And paste it back in your remote machine's terminal. You should get a success message.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!