'Not receiving “x-razorpay-signature” header in the request made by razorpay webhook on callback URL

Any idea why am I not receiving x-razorpay-signature header in the request made by razorpay webhook on callback URL?
I am receiving the signature on frontend but not on backend(node) in the request header.

Note:
I am using ngrok for proxy because razorpay does not allow private ip for webhooks and I am testing this locally on my machine.

enter image description here



Solution 1:[1]

Update:

I did not set secret while creating razorpay webhooks and that is why I was not receiving any signature. Once I updated it, it started working.

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 Sachin Yadav