From 26ed835b602330d0e420527485604a509f92f01b Mon Sep 17 00:00:00 2001 From: Leonhard Driesch Date: Mon, 8 Feb 2021 09:13:44 +0100 Subject: [PATCH] :memo: Add docs about authorizing users --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 1b52acf..b0c5857 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,20 @@ console: After that you can finish up the Vercel deployment and visit your fully set up site! +### 3. Add Authorized Emails + +To secure your deployment you have to set up a list of email adresses that are +allowed to view your data. + +A UI for this is in the planning, but for now you have to go to the Firebase +console and head over to the Cloud Firestore dashboard. + +There you want to start a new collection that is called `auth` and add a +document with the id `authorizedUsers`. + +In that document add a field named `emails` with an array type and add any +emails to this array that you want to allow. +
## ❯ Contribute