When exposing a generic serverless, firebase cloud functions based REST API which can be used by customers (who will develop their own clients with their technology of choice), how to best secure it (Authentication / Authorization) and how to implement the security aspects?
Possible options:
- OAuth 2.0
- API Keys
- Using firebase's authentication in combination with cookies
- Others?