From ddf9d7848c4f5cc817ab5e67cc25c59e9b18d8f5 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Tue, 17 Oct 2023 12:57:05 +0100 Subject: [PATCH] Update protocol in samlConfig --- backend/src/utils/auth.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/utils/auth.ts b/backend/src/utils/auth.ts index ad1ed0961..86fa5fd2e 100644 --- a/backend/src/utils/auth.ts +++ b/backend/src/utils/auth.ts @@ -297,6 +297,7 @@ const initializePassport = async () => { issuer: string; cert: string; audience: string; + protocol: string; wantAuthnResponseSigned?: boolean; } @@ -306,6 +307,7 @@ const initializePassport = async () => { entryPoint: ssoConfig.entryPoint, issuer: ssoConfig.issuer, cert: ssoConfig.cert, + protocol: "https://", audience: await getSiteURL() });