I am just getting started with Firebase Functions. I have tested successfully using the emulator suite and see my function working well. However, when deploying my function and trying to access the generated URL for my function, I get a 403 Forbidden error.
I checked Google Cloud IAM console and see that my current account is set as the Owner role for the function, but I also added the "Cloud Functions Admin" role as well.
Despite these permissions, I am still seeing the 403 Forbidden errors when trying to access my function.
I do not wish to make my function public, though I did perform a test with public access enabled and I was able to access my function and it ran successfully. I revoked the public access after this test, though, and would prefer to keep the function private. Most answers I see to this question simply say to open the function up for public access by setting the "allUsers" member to have the "invoke cloud functions" role.
I am not sure what else to try. Any help would be appreciated!