My endpoint uses basic authentication (a username and password), I want to use this method to secure my webhook. When the webhook data is sent, the authorisation header will be included in the HTTP request.
I don't see any option to send basic auth token to webhook. I can only see `Secret` field while creating the webhook.
Kindly help me how to incorporate Basic Authentication for bitbucket webhook
Hi Azar and welcome to the community!
The only way you can provide credentials is to include them in the webhook URL as follows:
https://username:password@webhook-url
Please be mindful that if the username is an email address, it will not be supported due to this bug: https://jira.atlassian.com/browse/BCLOUD-14773
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.