Foodie
  • Introduction
  • Flutter App
    • Getting Started
    • Directory Structure
    • Change App Color theme
    • Chat with Vendor/Delivery Boy
    • Firebase
    • Firebase Phone OTP
    • Google Map
    • Running on Android Studio
    • Running App On VS Code
  • Social Login
    • Google Login
    • Facebook Login
  • Laravel Admin( Backend )
    • Getting Started
    • GUI Installer
    • Change Backend Color
    • App API
    • Payment Callbacks
    • System Settings
    • System Update & Terminal
    • Firebase
      • Firebase Database
    • Web Notification
    • Change Logs
  • Migration
    • ~ 1.3.0
    • ~ 1.5.1
    • ~ 1.6.0
Powered by GitBook
On this page

Was this helpful?

  1. Laravel Admin( Backend )

Firebase

PreviousSystem Update & TerminalNextFirebase Database

Last updated 4 years ago

Was this helpful?

Google Service Account

In order to access a Firebase project using a server SDK, you must authenticate your requests to Firebase with .

To authenticate a service account and authorize it to access Firebase services, you must generate a private key file in JSON format.

To generate a private key file for your service account:

  1. Open and select the project you want to generate a private key file for.

  2. Click Generate New Private Key, then confirm by clicking Generate Key

  3. Securely store the JSON file containing the key.

After downloading the service account key, you need to upload this to the backend.

On the backend go to System Settings > Firebase. Then upload the just downloaded Service account file.

Service Account credentials
https://console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk