User Tools

Site Tools


cloud:gcp:firebase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cloud:gcp:firebase [2023/11/01 07:13] – removed - external edit (Unknown date) 127.0.0.1cloud:gcp:firebase [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:cloud:gcp:firebase to cloud:gcp:firebase skipidar
Line 1: Line 1:
 + ===== 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
 +<code>
 +firebase login:ci --no-localhost
 +</code>
 +
 +The returned link - open in browser
 +<code>
 +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
 +</code>
 +
 +
 +You open the URL and login. As the result you get a **token**
 +<code>
 +1//09MAAAAAAAARAAGAkSNwF-L9Ir8CCCCCCCCCJZXvCAqHWwzsZlCntwlzWyxRsVRCyzBBBBBBBBBBBBB
 +</code>
 +
 +The token you use, to execute commands
 +<code>
 +firebase projects:list --token 1//09MAAAAAAAARAAGAkSNwF-L9Ir8CCCCCCCCCJZXvCAqHWwzsZlCntwlzWyxRsVRCyzBBBBBBBBBBBBB
 +</code>