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.

enter image description here

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"

enter image description here

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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -