Currently, valid emails for authentication are whitelisted in an environment variable ADMIN_EMAILS. Check in /src/admin_server/auth.js for the code which currently handles logins.
We should use the Google Directory API to fetch the list of approved users to authenticate logins.
@heallen I'm going to change the account that we use for Google Maps API to our service account that we created. I think this way we can keep things consistent across the board in the services that we use.
Currently, valid emails for authentication are whitelisted in an environment variable
ADMIN_EMAILS
. Check in/src/admin_server/auth.js
for the code which currently handles logins.We should use the Google Directory API to fetch the list of approved users to authenticate logins.
Resources: