Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add azure basic auth verification #191

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

raulcabello
Copy link

@raulcabello raulcabello commented Jan 12, 2024

Unlike GitHub, GitLab or BitBucket there is no way of verifying Azure webhook requests.

Azure allows setting basic authentication for webhooks more info. This PR uses basic authentication to perform requests validation. Basic auth can be set when creating a Webhook with the New method just like it is done for the other git providers.

It doesn't perform any validation if the username and password are not provided, which means that it doesn't introduce a breaking change.

@coveralls
Copy link

coveralls commented Jan 12, 2024

Coverage Status

coverage: 88.889% (+0.1%) from 88.765%
when pulling 3b5f78b on raulcabello:master
into 53694f8 on go-playground:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants