Fixing SSO issue

4.x.x
Rasika Perera 8 years ago
parent a0c842c6c6
commit 9fd6145605

@ -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;

Loading…
Cancel
Save