Show / Hide Table of Contents
Edit on GitHub

Configure Firebase - Lacuna PSC

Lacuna PSC uses Google Firebase App Check to protect the API from abuse by ensuring that API requests claiming to have come from the mobile app were indeed originated by the official PSC mobile app installed on an authentic, untampered device.

Note

Enabling both App Check and reCAPTCHA is essential in production environments to protect the API from abuse

Creating the Firebase project

  1. Create a project on the Firebase console
  2. Go to Project users and permissions
  3. Add dev-admins@lacunasoftware.com as a member with Owner role
Note

This enables our development team to acquire the various parameters associated with your project that need to be embedded in the compilation of your PSC mobile app

Configuring Lacuna PSC

Once you have followed the steps above, go to Project settings and copy the Project number. Place it in the configuration file under section Firebase, setting ProjectNumber.

Example (.ini or .conf file):

[Firebase]
ProjectNumber=999999999999

Example (environment variables):

Firebase__ProjectNumber=999999999999

See also

  • Configure reCAPTCHA
  • Lacuna PSC on-premises
Back to top Copyright © 2015-2020 Lacuna Software