Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
233 stars 36 forks source link

create firebase function to read user invite #20

Closed merlinoa closed 4 years ago

merlinoa commented 4 years ago

If the user email exists, then return the user. Otherwise return null if there is no invite.

This way we can lock down the "apps/{app_name}/users" collection read access to require authentication. So in addition to creating this new function, we need to update the firestore rules.

merlinoa commented 4 years ago

completed with 33296c9cd83479af6c5fd9c53b3f60345cab0336