My setup is like
API lib built on top of API gateway endpoints => gateway authenticates requests against firebase users => Call Cloud function for an endpoints.
This seems to be working fine.
Only concern is security/authentication of cloud function. How to achieve.
- No one should be able to call cloud function directly
- OR Cloud function should accept traffic only from API gateway.
Current settings are :
If i change allow internal traffic only then API gives a Not allowed error.