Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ibm mobilefirst 预览在MFP8.0中无法正常工作_Ibm Mobilefirst_Mobilefirst Server - Fatal编程技术网

Ibm mobilefirst 预览在MFP8.0中无法正常工作

Ibm mobilefirst 预览在MFP8.0中无法正常工作,ibm-mobilefirst,mobilefirst-server,Ibm Mobilefirst,Mobilefirst Server,我正在开发一个只连接到MFP 8.0服务器的应用程序,但当我使用MFP web模拟器运行该应用程序时,日志显示“getCachedAccessToken for scope failed:undefined”。但是,当我使用模拟器/设备运行同一个应用程序时,它工作正常 function wlCommonInit() { WLAuthorizationManager.obtainAccessToken().then( function () {

我正在开发一个只连接到MFP 8.0服务器的应用程序,但当我使用MFP web模拟器运行该应用程序时,日志显示“getCachedAccessToken for scope failed:undefined”。但是,当我使用模拟器/设备运行同一个应用程序时,它工作正常

function wlCommonInit() {
    WLAuthorizationManager.obtainAccessToken().then(
        function () {       
            alert ("You are now connected to the server");
        },
        function(result) {
                    alert("Not able to connect: "+ JSON.stringify(result));
        }
    );
}

有没有办法在MFP web模拟器中测试MFP服务器连接?

这是8.0版本的已知限制。
您可以在此处阅读更多关于它的信息:

令牌是OAuth流的一部分


作为一种解决方法,您可以使用模拟器。

这是8.0版本的已知限制。
您可以在此处阅读更多关于它的信息:

令牌是OAuth流的一部分

作为解决方法,您可以使用模拟器