From cc2bdb2c7c9c3375a12a9f756cb363fa481bb271 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Thu, 9 Jan 2025 13:49:40 -0500 Subject: [PATCH] Add back rejectUnauthorized request option to support self-signed certificates (#7499) - Add back "rejectUnauthorized" request option to support self-signed certificates - Fixes regression in https samples introduced by changes in https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7486 --- samples/e2eTestUtils/jest-puppeteer-utils/serverUtils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/e2eTestUtils/jest-puppeteer-utils/serverUtils.js b/samples/e2eTestUtils/jest-puppeteer-utils/serverUtils.js index e35fbcbbeb..92040af07e 100644 --- a/samples/e2eTestUtils/jest-puppeteer-utils/serverUtils.js +++ b/samples/e2eTestUtils/jest-puppeteer-utils/serverUtils.js @@ -45,6 +45,7 @@ async function isServerUp(port, timeout) { host: "localhost", port: port, family: 4, + rejectUnauthorized: false, }; https