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

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Conversation

raulcabello
Copy link
Contributor

@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.

@robinlieb robinlieb merged commit 2fe5d09 into go-playground:master Jul 30, 2024
8 checks passed
@robinlieb
Copy link
Member

@raulcabello Thanks!

weyfonk added a commit to weyfonk/fleet that referenced this pull request Aug 7, 2024
Vendoring is no longer needed now that this PR [1] has been merged.
This commit now relies on that merged logic.

[1]: go-playground/webhooks#191
weyfonk added a commit to rancher/fleet that referenced this pull request Aug 8, 2024
Vendoring is no longer needed now that this PR [1] has been merged.
This commit now relies on that merged logic.

[1]: go-playground/webhooks#191
p-se pushed a commit to p-se/fleet that referenced this pull request Aug 29, 2024
Vendoring is no longer needed now that this PR [1] has been merged.
This commit now relies on that merged logic.

[1]: go-playground/webhooks#191
bigkevmcd pushed a commit to bigkevmcd/fleet that referenced this pull request Sep 4, 2024
Vendoring is no longer needed now that this PR [1] has been merged.
This commit now relies on that merged logic.

[1]: go-playground/webhooks#191
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.

3 participants