Back

How to verify webhook signature in Golang?

  • 0
  • Webhooks
  • Auth
  • Cloud
Yash
11 Oct, 2024, 20:17

I am using webhook and I would like to verify the webhook signature when the call to my server is made via Appwrite webhook.

Basically, I have to get the following header: signatureHeader := c.GetHeader("X-Appwrite-Webhook-Signature")

But, is there any existing function that would verify the Header or will I have to write it from scratch?

Btw, I am using the Go-Gin framework.

TL;DR
Developers want to verify webhook signatures in Golang. They need to extract the signature from the header, then either write a function from scratch to verify it or find an existing function. Using the Go-Gin framework.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more