WL.Client.Logout 没有调用它的 onSuccess 或 onFailure 回调?

WL.Client.Logout not calling its onSuccess or onFailure callbacks?

使用 Mobilefirst Platform 7.1,

我注意到注销功能已停止工作。我有一个浏览器网络应用程序,它有一个触发的注销按钮:

WL.Client.logout("MyAuthenticatorRealm", {
    onSuccess: function(res) {
        console.log("success server logout"); // Never called :(
        WLAuthorizationManager.obtainAuthorizationHeader().then (
           function(header) {
               // I would reload the app here, 
           },
           function(error) {
               ...
           });
    },
    onFailure: function(res) {
        console.log("failure server logout"); // Never called :(
    }
});

但是永远不会调用回调。 我检查了 sample code from this tutorial,我也看到同样的事情发生了。

我需要在 7.1 中添加一些特定内容吗?这曾经在 7.0

中工作

编辑 2015/08/31

服务器日志中没有任何内容。客户端 Web 应用似乎正在向 authorization/v1/authorization?client_id=XYZ&scope=-MyAuthenticatorRealm&isAjaxRequest=true&x=0.07530371774919331 发出请求,returns 200 次成功。

编辑 2013/09/17

使用新版本 (7.1.0.00.20150913-2345) 调用回调!但是现在我得到一个例外:

Uncaught ReferenceError: WLAuthorizationManager is not defined

这是最新版本注销的正确方法吗?我正在尝试 "Desktop Browser"

MobileFirst Platform 7.1 当前存在一个已知问题

APAR PI47591 WL.CLIENT.LOGOUT 在混合预览中不起作用

您可以与 IBM 建立 PMR 以分享您对此修复的兴趣,并获得更新。