In this how-to, I will show how I implemented HMAC in a Cloud Function that acts as a webhook using the node Express application framework. The focus of this article is how I implemented HMAC and not on how to build a Cloud Function webhook.
I’m working on a Firebase Cloud function, I run into an issue when I tested the function locally on mine machine. I got the message – “Warning, FIREBASE_CONFIG and GCLOUD_PROJECT environment variables are missing. Initializing firebase-admin will fail”. Searching Google for why I get this issue on my local machine, show that there is an…