gogs/go-gogs-client

How to add header in request to webhook

olaf-meyer opened this issue · 2 comments

Hello,

I would like to use a gogs webhook with a destination that requires authentication. Is it possible to add an authentication header to the webhook configuration?

Kind regards,

Olaf

Hi, currently does no support custom headers in webhook, you can make a proxy that consumes Gogs webhooks then append headers before redirecting.

But it does feel like a good feature request, would you mind file an issue on the main repository https://github.com/gogs/gogs? Thank you!