ROODAY / send

Simple, private file sharing
https://send.rooday.com
Mozilla Public License 2.0
0 stars 0 forks source link

Use Firebase for Auth #3

Open ROODAY opened 3 years ago

ROODAY commented 3 years ago

Currently uses Firefox account which won't work on a diff domain, use Firebase google oauth and whitelist users who can upload and block everyone else (easy fix is set anon max size to 0 and then normal max size to 3gb)

ROODAY commented 3 years ago

Send uses express middleware to handle authentication, might be possible to replace middleware function contents with Firebase interfaces and leave the rest alone: https://medium.com/@codemonk/using-firebase-as-an-authenticating-middleware-in-express-js-99df5f19302f