From: Vincent Vanwaelscappel Date: Mon, 3 Feb 2020 14:36:44 +0000 (+0100) Subject: wip #3385 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ef3c31983848e80067857236464390f40ea990f5;p=fluidbook-html5.git wip #3385 --- diff --git a/js/libs/fluidbook/fluidbook.secure.js b/js/libs/fluidbook/fluidbook.secure.js index 98e6f713..bc660dd4 100644 --- a/js/libs/fluidbook/fluidbook.secure.js +++ b/js/libs/fluidbook/fluidbook.secure.js @@ -31,6 +31,11 @@ FluidbookSecure.prototype = { var $this = this; $.ajax({ url: $this.fluidbook.settings.secureURL, + crossDomain: true, + type: 'json', + xhrFields: { + withCredentials: true + }, success: function (data) { var res = data.data[0]['logged-in']; if (res !== undefined && res !== null) {