Firebase Service Account Plugin

Demo to preview the settings

Introduction

Imagine if your app had its own Firebase. You could use Firebase without a user being signed in with their account!
☝
Note: This is the JSON WEB Token authentication version, users will access the Service Account Firebase. For the information on how to obtain Service Account Keys for this plugin, please read here: https://docs.zeroqode.com/obtaining-google-service-account-keys
For using the plugin you'll need to get the API credentials with JWT for Google. Create your development account at: https://console.developers.google.com and enable the Firebase API , Admin SDK API.

Setting up Google Account and Bubble Plugin

1) First of all we need to register a Google Service Account with JWT (link) and obtain:

a) Iss (account email): [your-account-name]@[google-project-name].iam.gserviceaccount.com
b) Private Key:
-----BEGIN PRIVATE KEY----- **HERE YOUR PRIVATE API KEY ** -----END PRIVATE KEY-----
c) Realtime Database Auth Secret: yourkey4EJ23xxyckdLzMIVSgFlW9lVRcYIqyb214d

2) Install the plugin Firebase Service Account and fill out the plugin settings with the information above.

Image without caption

3) Next you can use all the API Calls and Actions that the plugin provides.

For calls you’ll need next keys:
  1. Auth - This secret is found in your Firebase console under service accounts then database secrets.
Image without caption
2. Project ID - It’s the identifier of your Firebase project.
Image without caption
3. Database - name of your Realtime database
Image without caption

Plugin Data Calls / Actions

Signup a User Sign a User In Sign in anonymously Update User Profile / Get Password Hash Get User Data Set User Email/Password Delete User
Realtime Database Public Update Realtime Database PUBLIC READ Realtime Database PUBLIC DELETE Realtime Database PUBLIC Add
Realtime Database AUTH READ Realtime Database AUTH WRITE Realtime Database AUTH DELETE Realtime Database AUTH UPDATE

Changelogs

Update: 10/16/2022 – Version 1.6.0

  • minor fixes