Open dehypnosis opened 11 months ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Hi Team,
This patch adds a public method to call an API:
Sorry if this PR is not appropriate in contribution process.
Background
Actually, I was using this REST API by calling that with API Key via separated HTTP client as the document described.
But recently, I had to turn Firebase AppCheck for Authentication due to SMS fraud issue. With AppCheck enabled, this API stops to work with "Invalid App Check Token" error in my server. I found no way to embed AppCheck header in internal call. So I forked and added this API call method to firebase admin to make it work with service account credentials. And it resolves the issue.
Please check this issue. Thanks.