Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Secure Webhook using basic authentication

Azar Mohamed
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2023

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

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events