cloud:gcp:firebase
Firebase
Login
Install see https://firebase.google.com/docs/functions/get-started
Login. When doing this in a headless environment, like vagrant, use the following option
firebase login:ci --no-localhost
The returned link - open in browser
Visit this URL on any device to log in: https://accounts.google.com/o/oauth2/auth?client_id=563584335869-someappshere.apps.googleusercontent.com&scope=email%20openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloudplatformprojects.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Ffirebase%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform&response_type=code
You open the URL and login. As the result you get a token
1//09MAAAAAAAARAAGAkSNwF-L9Ir8CCCCCCCCCJZXvCAqHWwzsZlCntwlzWyxRsVRCyzBBBBBBBBBBBBB
The token you use, to execute commands
firebase projects:list --token 1//09MAAAAAAAARAAGAkSNwF-L9Ir8CCCCCCCCCJZXvCAqHWwzsZlCntwlzWyxRsVRCyzBBBBBBBBBBBBB
cloud/gcp/firebase.txt · Last modified: 2023/11/01 07:13 by skipidar