-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[extension/bearertokenauthextension] Fix for extension Always return "401 Unauthorized" via HTTP connection #24656 #29992
[extension/bearertokenauthextension] Fix for extension Always return "401 Unauthorized" via HTTP connection #24656 #29992
Conversation
Please run |
Done |
Co-authored-by: Curtis Robert <crobert@splunk.com>
@atoulme Does this commits looks good? Any changes required? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Could use a test but not a deal breaker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…"401 Unauthorized" via HTTP connection open-telemetry#24656 (open-telemetry#29992) Fix for extension Always return "401 Unauthorized" via HTTP connection open-telemetry#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](open-telemetry#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 <crobert@splunk.com>
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 asAuthorization
capitalcase even-though we sent in lower case.Link to tracking Issue: <24656>
Testing: Tested in the local