无法在iFrame/MS Teams“自定义"标签中使用身份平台 [英] Not able to use identity platform within iFrame/MS Teams custom tab

查看:93
本文介绍了无法在iFrame/MS Teams“自定义"标签中使用身份平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用身份平台将用户身份验证到我的自定义应用中,该应用将在MS Teams中使用.

I am trying to use identity platform to authenticate users into my custom app that is to be used from within MS Teams.

我知道Teams使用iFrame加载自定义应用程序.因此,我遵循了常见问题解答中提到的方法- Q5.我在MSALConfig中使用了redirectUri属性.我通过在iFrame标记中调用它来将MS提供的索引文件用于测试目的.

I am aware that Teams uses iFrame to load the custom apps. So I followed the method mentioned in the FAQs - Q5. I used redirectUri property in the MSALConfig. I am using the index file provided by MS for testing purposes by calling it inside an iFrame tag.

在acquireTokenSilent和acquireTokenPopup的两种情况下,它都被卡在加载重定向页面的弹出窗口中.身份验证没有完成,弹出窗口也没有关闭.

In both cases of acquireTokenSilent and acquireTokenPopup, it gets stuck at the popup window loading the redirect page. Neither the authentication is getting completed nor the popup window getting closed.

推荐答案

此问题通过将实现更改为使用新功能-SSO 而不是MSAL库.

This issue was solved by changing the implementation to use new feature - SSO instead of MSAL library.

这篇关于无法在iFrame/MS Teams“自定义"标签中使用身份平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆