mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-13 22:50:19 +08:00
fix: respect imported oauth authorization headers
This commit is contained in:
@@ -3190,6 +3190,10 @@ async fn provider_query_execute_standard_test_candidate(
|
||||
),
|
||||
},
|
||||
};
|
||||
crate::provider_transport::apply_local_auth_config_header_overrides(
|
||||
&mut request_headers,
|
||||
transport.key.decrypted_auth_config.as_deref(),
|
||||
);
|
||||
if uses_vertex_query_auth {
|
||||
request_headers.remove("x-goog-api-key");
|
||||
}
|
||||
@@ -3239,6 +3243,10 @@ async fn provider_query_execute_standard_test_candidate(
|
||||
Some(trace_id),
|
||||
transport.key.decrypted_auth_config.as_deref(),
|
||||
);
|
||||
crate::provider_transport::apply_local_auth_config_header_overrides(
|
||||
&mut request_headers,
|
||||
transport.key.decrypted_auth_config.as_deref(),
|
||||
);
|
||||
}
|
||||
if !uses_vertex_query_auth {
|
||||
if let (Some(auth_header), Some(auth_value)) =
|
||||
|
||||
Reference in New Issue
Block a user