Open ROODAY opened 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
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)