“团队”标签中的“人工验证”无法正常工作

时间:2020-07-04 13:57:28

标签: javascript microsoft-teams msal

我会在团队应用中使用auth女士。

microsoftTeams.initialize(() => {
    console.log(microsoftTeams)
    microsoftTeams.authentication.authenticate({
        url: window.location.origin + "/Auth",
        successCallback: () => {
            console.log(" login success")
            updateUserAuth(user, msalApp);


        },
        failureCallback: (error) => {
            console.log("error", error);
        }
    })
});

/Auth路线内

const msalApp = new UserAgentApplication(msalConfig);
msalApp.handleRedirectCallback((response) => {
    console.log(response)
    handleTokenReceived(response)
}, (error, state) => {
    sessionStorage.clear();

    console.log("error on callback")
    handleErrorReceived(error, state)
});

我遇到此错误

message: "Login_In_Progress: Error during login call - login is already in progress."`

我找到了这个post,但没有帮助

有关更多信息,here

0 个答案:

没有答案
相关问题