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

Allow overwriting the Authorization header. #488

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

dblock
Copy link
Member

@dblock dblock commented Aug 9, 2024

Description

Allow overwriting the Authorization header. The default axios middleware executes after you pass headers into the request and overwrites any authorization header on input. Use a custom auth middleware for both basic and sigv4 which looks more consistent, too.

cc: @DarshitChanpura

Issues Resolved

Closes #485.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock dblock added the skip-changelog No need to update CHANGELOG. label Aug 9, 2024
Copy link
Contributor

github-actions bot commented Aug 9, 2024

Changes Analysis

Commit SHA: 339a5dc
Comparing To SHA: ecf3921

API Changes

Summary

NO CHANGES

Report

The full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/10324949947/artifacts/1796449691

API Coverage

Before After Δ
Covered (%) 510 (49.95 %) 510 (49.95 %) 0 (0 %)
Uncovered (%) 511 (50.05 %) 511 (50.05 %) 0 (0 %)
Unknown 24 24 0

Copy link
Contributor

github-actions bot commented Aug 9, 2024

Spec Test Coverage Analysis

Total Tested
534 118 (22.1 %)

@Xtansia Xtansia merged commit 00711ea into opensearch-project:main Aug 11, 2024
24 of 25 checks passed
@dblock dblock deleted the overwrite-header branch August 12, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No need to update CHANGELOG.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add support for custom authorization headers in chapters section of the tests.
2 participants