Hi,
We are currently integrating the Google Play Billing System and need to use Google APIs for subscription management, checking the payment status of users, and other purposes. To accomplish this, we are required to pass the access token as a bearer token in the header.
In order to generate the access token, we have to make a request to the Google API with a refresh token. The question is, should we generate the refresh token manually once and continue using it, or is it possible to generate the refresh token in our code base?
If we need to generate the refresh token in our code base, how can we do that? It seems that the resources I've found only describe manually generating the refresh token.
We are using Spring.
Thank you.