Skip to content

Conversation

@vanugrah
Copy link

Description

Updates the authentication logic to use the CanonicalHeaderKey version of the input custom header string since the net/http standard lib automatically converts header keys to this canonical form.

Link to tracking issue

Fixes 45697

Testing

Running a docker compose with a local build.

Documentation

No documentation added yet. Not sure if this is required.

…age the canonical header key to conform to golang http standards
…ect calls with http.StatusCreated (status code 201) as per the faro openAPI schema
… to collect calls with http.StatusCreated (status code 201) as per the faro openAPI schema"

This reverts commit b9c331f.
@vanugrah vanugrah requested a review from a team as a code owner January 28, 2026 16:58
@vanugrah vanugrah requested a review from bogdandrutu January 28, 2026 16:58
@github-actions github-actions bot added the first-time contributor PRs made by new contributors label Jan 28, 2026
@github-actions
Copy link
Contributor

Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib.

Important reminders:

A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better!

@github-actions github-actions bot requested a review from frzifus January 28, 2026 16:59
@atoulme atoulme marked this pull request as draft January 28, 2026 17:03
@atoulme
Copy link
Contributor

atoulme commented Jan 28, 2026

Please add a test, add a changelog and mark ready to review again. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bearertokenauth extension doesn't honor token auth with custom headers unless the header is specified in the Canonical format.

3 participants