'Check google play subscription with firebase function

I am using firebase functions and I am trying to find out if my users are subscribed to my app by using a firebase function. I wonder how the authentication should be done since I am trying to interface between two google services.



Solution 1:[1]

You asked this question a long time ago but since you haven't received an answer yet and for anyone else stumbling across this question:

I found this blog post giving a detailed description of how to do so. It is basically straight forward, but the blog post guides you through it very well, I'm currently following it myself.

Disclaimer: I haven't published my app yet so I cannot verify if it works. If it doesn't, I will add an edit to this answer.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Emil