- Add a user with email
[email protected]
- Disallow the creation of email&password accounts (they will be created from the admin SDK)
- Create a
users
collection
Install dependencies
cd back/functions && yarn
Download the project config file:
Firebase console -> your bysafe project -> settings -> Service Account -> Generate new private key
Then, copy the file to back/functions/keys/admin.json
. Keep it hidden
In back/functions/src/ files, change the admin ID (currently PciCitpbScemcOEnmUsbeYJCeSj1
) to your admin id.
yarn firebase deploy
Follow the CLI instructions
You may need to auth your CLI with firebase (https://firebase.google.com/docs/cli)