From 6df4b8c32fcebdaf3d6fc87ca655c8d2977b8aea Mon Sep 17 00:00:00 2001 From: David Galey Date: Wed, 20 Apr 2022 10:38:28 -0400 Subject: [PATCH] PickupCertificateById wasn't passing auth header --- src/GlobalSignCAProxy/Client/GlobalSignApiClient.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GlobalSignCAProxy/Client/GlobalSignApiClient.cs b/src/GlobalSignCAProxy/Client/GlobalSignApiClient.cs index 2a630e7..a2f631c 100644 --- a/src/GlobalSignCAProxy/Client/GlobalSignApiClient.cs +++ b/src/GlobalSignCAProxy/Client/GlobalSignApiClient.cs @@ -153,6 +153,10 @@ public CAConnectorCertificate PickupCertificateById(string caRequestId) Logger.Debug($"Attempting to pick up order with order ID {caRequestId}"); QbV1GetOrderByOrderIdRequest request = new QbV1GetOrderByOrderIdRequest { + QueryRequestHeader = new Services.Query.QueryRequestHeader + { + AuthToken = Config.GetQueryAuthToken() + }, OrderID = caRequestId, OrderQueryOption = new OrderQueryOption {