BMMRO-tech / BMMRO

MIT License
3 stars 5 forks source link

Authenticating with `FIREBASE_TOKEN` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS` #455

Open rameez25 opened 1 year ago

rameez25 commented 1 year ago

Warning in the pipeline - Authenticating with FIREBASE_TOKEN is deprecated and will be removed in a future major version of firebase-tools. Instead, use a service account key with GOOGLE_APPLICATION_CREDENTIALS: https://cloud.google.com/docs/authentication/getting-started.

https://firebase.google.com/docs/app-distribution/authenticate-service-account

  1. Open the Google Cloud Console and select your project.
  2. Click Create Service Account and enter service account details.
  3. Click Create and Continue.
  4. Add the Firebase App Distribution Admin role and click Done.
  5. Create a private JSON key by following these steps in the GCP Console Service Accounts page: Click on the kebab menu for your new service account > Manage Keys > Add Key > Create New Key. Opt for the JSON key and hit Create. (Be sure to keep this file somewhere safe, because it grants administrator access to App Distribution in your Firebase project.)