Skip to content

BasicAuth - #69

Open
bx9001 wants to merge 4 commits into
masterfrom
cmk_36791
Open

BasicAuth#69
bx9001 wants to merge 4 commits into
masterfrom
cmk_36791

Conversation

@bx9001

@bx9001 bx9001 commented Sep 7, 2026

Copy link
Copy Markdown

No description provided.

@bx9001
bx9001 marked this pull request as ready for review September 8, 2026 08:40
@bx9001
bx9001 requested a review from relrod September 8, 2026 08:40
@bx9001 bx9001 changed the title WIP: BasicAuth BasicAuth Sep 8, 2026
Comment thread metrics-cache/src/cli_args.rs Outdated
Comment thread metrics-cache/src/cli_args.rs Outdated
Comment thread metrics-cache/src/main.rs Outdated
Comment thread metrics-cache/src/otel/client.rs Outdated
@relrod

relrod commented Sep 11, 2026

Copy link
Copy Markdown
Member

Could we add a test asserting that the outgoing request has the expected Authorization header when credentials are configured, and no header otherwise? The current tests only exercise credential resolution.

For example you can split the reqwest client build into its own method and then check request.headers()["authorization"]

@bx9001

bx9001 commented Sep 14, 2026

Copy link
Copy Markdown
Author

Could we add a test asserting that the outgoing request has the expected Authorization header when credentials are configured, and no header otherwise? The current tests only exercise credential resolution.

For example you can split the reqwest client build into its own method and then check request.headers()["authorization"]

Added this as well.

@relrod

relrod commented Sep 14, 2026

Copy link
Copy Markdown
Member

Needs a rebase but lgtm!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants