From 9fd6145605242b68dcad486743183df9732cdc00 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Fri, 9 Dec 2016 17:34:56 +0530 Subject: [PATCH] Fixing SSO issue --- .../devicemgt/app/pages/cdmf.page.sign-in/sign-in.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in/sign-in.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in/sign-in.js index df49bf1d044..dfc08774820 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in/sign-in.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.sign-in/sign-in.js @@ -1,5 +1,4 @@ function onRequest(context) { - var devicemgtProps = require("/app/modules/conf-reader/main.js")["conf"]; var authModuleConfigs = context.app.conf["authModule"]; var sessionDataKey = request.getParameter("sessionDataKey"); @@ -19,7 +18,7 @@ function onRequest(context) { var viewModel = {}; var loginActionUrl = context.app.context + "/uuf/login"; if (sessionDataKey) { - loginActionUrl = devicemgtProps["httpsURL"] + "/commonauth"; + loginActionUrl = "/commonauth"; } viewModel.sessionDataKey = sessionDataKey;