Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[extension/bearertokenauthextension] Fix for extension Always return …
…"401 Unauthorized" via HTTP connection #24656 (#29992) Fix for extension Always return "401 Unauthorized" via HTTP connection #24656 **Description:** We are always trying to get the `authorization` with the lower case from headers, But The headers from Http is received as `Authorization` capitalcase even-though we sent in lower case. **Link to tracking Issue:** <[24656](#24656)> **Testing:** Tested in the local <img width="1060" alt="Screenshot 2023-12-17 at 5 28 26 PM" src="https://github.com/open-telemetry/opentelemetry-collector-contrib/assets/94837505/a7401d32-9ce2-4ac5-b4a4-94b43d1efcc8"> <img width="919" alt="Screenshot 2023-12-17 at 5 32 11 PM" src="https://github.com/open-telemetry/opentelemetry-collector-contrib/assets/94837505/b7778fc1-1dee-487a-8458-669b8bf5ec2e"> <img width="890" alt="Screenshot 2023-12-17 at 5 34 12 PM" src="https://github.com/open-telemetry/opentelemetry-collector-contrib/assets/94837505/369577d3-7ddf-45e9-be25-81e699e56e2a"> --------- Co-authored-by: Curtis Robert <[email protected]>
- Loading branch information