我正在尝试为离子移动应用程序实施 MSAL 并参考 https://github.com/wrobins/cordova-plugin-msal 插件
Android 运行良好,但对于 iOS,我面临以下问题。
window.cordova.plugins.msalPlugin.msalInit(function () {
window.cordova.plugins.msalPlugin.signInInteractive((resp) => {
alert("Sucess");
}, (err1) => {
alert("Failed");
});
}, function (err2) {
console.log(err2);
}, options);
使用 iOS 模拟器我可以成功登录,但登录后控制不会进入 signInInteractive 方法的成功或错误部分。
请帮助我,在此先感谢。