ibm mobilefirst - WL.Client.Logout not calling its onSuccess or onFailure callbacks? -
using mobilefirst platform 7.1,
i have noticed logout function has stopped working. have browser web app has logout button triggers:
wl.client.logout("myauthenticatorrealm", { onsuccess: function(res) { console.log("success server logout"); // never called :( wlauthorizationmanager.obtainauthorizationheader().then ( function(header) { // reload app here, }, function(error) { ... }); }, onfailure: function(res) { console.log("failure server logout"); // never called :( } });
but callbacks never called. have checked sample code tutorial , can see same thing happening too.
is there specific need add in 7.1? used work in 7.0
edit 2015/08/31
there nothing in server logs. client web app seem doing request authorization/v1/authorization?client_id=xyz&scope=-myauthenticatorrealm&isajaxrequest=true&x=0.07530371774919331
returns 200 success.
edit 2013/09/17
with new version (7.1.0.00.20150913-2345) callback called! exception:
uncaught referenceerror: wlauthorizationmanager not defined
is correct way logout latest version? trying "desktop browser"
there known issue in mobilefirst platform 7.1
apar pi47591 wl.client.logout not work in hybrid preview
you can open pmr ibm share interest fix, , updated.
Comments
Post a Comment