From aebbbff4eeefcfac6403a8125a13790ed0e60f7e Mon Sep 17 00:00:00 2001 From: Dasuni Geeganage Date: Fri, 3 May 2024 06:43:04 +0530 Subject: [PATCH] Add session management config --- .../b2c/web-app/petdesk/web/react/src/util/getConfig.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/petcare-sample/b2c/web-app/petdesk/web/react/src/util/getConfig.tsx b/petcare-sample/b2c/web-app/petdesk/web/react/src/util/getConfig.tsx index b576204b2..9da48d6d8 100644 --- a/petcare-sample/b2c/web-app/petdesk/web/react/src/util/getConfig.tsx +++ b/petcare-sample/b2c/web-app/petdesk/web/react/src/util/getConfig.tsx @@ -26,6 +26,7 @@ interface Config { petManagementServiceURL: string; billingServerURL: string; salesforceServerURL: string; + enableOIDCSessionManagement: boolean; } declare global { @@ -43,7 +44,8 @@ const authConfig = { petManagementServiceURL: window.config.petManagementServiceURL, billingServerURL: window.config.billingServerURL, salesforceServerURL: window.config.salesforceServerURL, - scope: ["openid", "profile", "email", "acr"], + enableOIDCSessionManagement: true, + scope: ["openid", "profile", "email", "acr"] }; export function getConfig() {