From 37cbf3928ae82b4e19ee6c537c4bfedde5c246a4 Mon Sep 17 00:00:00 2001 From: Abhishek Y Date: Thu, 4 Jul 2024 17:32:18 +0530 Subject: [PATCH] Adding HMAC algorith in autorization header --- src/utils/auth.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/auth.utils.ts b/src/utils/auth.utils.ts index 28c4040..c0eb5b8 100644 --- a/src/utils/auth.utils.ts +++ b/src/utils/auth.utils.ts @@ -222,7 +222,7 @@ export const createBppWebhookAuthHeaderConfig = async (request: any) => { const header = await createBppWebhookAuthHeader(request); const axios_config = { headers: { - authorization: header + authorization: `HMAC-SHA-256 ${header}` } }; logger.info(