Greetings,
I have a. simple doubt, I am not able to deploy my functions using firebase deploy --only functions so I am using
gcloud and then functions are being deploy and are visible in firebase console too.
But I have a question that I have deployed a JS function (let's say jsFunc.js) and I have another Python function (let's say pyFunc.py). Now, inside of jsFunc.js I am using the url of Python Function and calling it but as both the functions require authentication jsFunc.js is not able to call pyFunc.py and hence I get 403 error.
So, I made the pyFunc.py public and it works.
When I am calling jsFunc.js from Postman, I am passing a bearer token hence it works now as pyFunc.py is public hence jsFunc.js is able to call it.
So can someone help me what is the correct way to call pyFunc.py from jsFunc.js, while ensuring both functions are not public?
Also on whole another note, if my user successfully signs in the application using google account then any call to jsFunc.js made by the this authenticated user will not result in any 400 level error right?