Fixed: Implemented: Navigate from a domain to another with automated signed in
authentication
Non functional change
Removes now useless "webappName" var after I put in the SecuredUserLoginId
cookies.
Thanks: Michael for spotting it in
@@ -1323,7 +1323,7 @@ function submitPagination(obj, url) {
}
}
}
-function loadJWT(webAppName) {
+function loadJWT() {
var JwtToken = "";
jQuery.ajax({
url: "loadJWT",
@@ -1340,9 +1340,9 @@ function loadJWT(webAppName) {
return JwtToken;
}
-function sendJWT(webAppName, targetUrl) {
+function sendJWT(targetUrl) {
var redirectUrl = targetUrl;
- var jwtToken = loadJWT(webAppName);
+ var jwtToken = loadJWT();
if (jwtToken != null && jwtToken != "") {
jQuery.ajax({
url: targetUrl,
