signInInteractive 在 iOS、cordova-plugin-msal 上成功验证后不让内部成功或错误

问题描述 投票:0回答:0

我正在尝试为离子移动应用程序实施 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 方法的成功或错误部分。

请帮助我,在此先感谢。

javascript angular ionic-framework azure-active-directory msal
© www.soinside.com 2019 - 2024. All rights reserved.