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

Fix reading authorization_scheme in webhook receiver #56

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

yuri-tceretian
Copy link
Contributor

@yuri-tceretian yuri-tceretian commented Feb 9, 2023

During refactoring in grafana/grafana#55517 I missed mapping of field authorization_scheme to the resulting settings struct. This resulted in authorization_credentials always being sent as Bearer. In other words, It broke only custom schemes (other than Bearer)

@yuri-tceretian yuri-tceretian added the bug Something isn't working label Feb 9, 2023
@yuri-tceretian yuri-tceretian self-assigned this Feb 9, 2023
Copy link
Contributor

@alexweav alexweav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yuri-tceretian yuri-tceretian merged commit 718ce98 into main Feb 9, 2023
@yuri-tceretian yuri-tceretian deleted the yuri-tceretian/fix-webhook branch February 9, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants