Angular + firebase integration

Hi there,

I’m working on a firebase + angular web application which has a patreon page in order to pay hosting and other services for the app.

I would like to implement in-app patreon rewards like specific features etc, but in order to do that I need to know if the current user is a patron or not.

afaik, I’ll need to implement a specific Google Cloud function (if you already have a sample for that, it’d be welcome) in order to manage Oauth but is there a better way to do this? or do we have samples for such a feature?