MarkEdmondson1234 / Shiny-R-SaaS

Bootstrap a paid R SaaS using Shiny, Firebase and Paddle
https://code.markedmondson.me/datascience-aas/
60 stars 9 forks source link

Paddle Webhook Status Code 403 and no Firestore Database entries after subscription #7

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello,

so I was able to host the template app locally (port 3838) and I could log in via my Google Account. After the paddle subscription I got logged out immediately and had to subscribe again.

In addition, when I tested the Webhook with the cloud function URL the http status code 403 was shown.

Do you know what could solve this issue?

Thank you in advance!

ghost commented 1 year ago

The solution was to set the cloud function as public meaning granting the "allusers" principal access to "invoke the cloud function" (click on cloud function => "permissions" tab => grant access)