Bot Framework的Microsoft团队中的AAD身份验证

问题描述:

我的Bot服务使用提供数据之前进行AAD身份验证的自定义服务.我一直在使用 AuthBot 进行AAD身份验证.此方法使用户远离机器人,然后粘贴回魔术码以完成身份验证.对于Microsoft团队,是否可以将为Bos身份验证而使用为团队身份验证而生成的令牌?

My Bot service uses a custom service that does AAD authentication before providing data. I have been using AuthBot for getting the AAD authentication. This method causes the user to move away from the bot and then paste back a magic code to complete the authentication. With Microsoft teams, is it possible to use the token generated for Teams authentication for Bot purposes?

Microsoft Teams Channel似乎不支持此功能,尽管将来可能会支持该功能,因为已经支持该功能.用于Cortana频道.

It seems like the Microsoft Teams Channel does not support this feature, although it might be possible that it will be supported sometime in the future, as it is already supported for the Cortana Channel.

存在一种变通方法,其中包括一个网络聊天选项卡,您可以在其中与机器人聊天,而不必进行单独的交谈,如本博文(及其中引用的内容)所述.

There exists a workaround by including a webchat tab, where you can chat with the bot instead of a seperate conversation, explained in this blog post (and the one referenced there).

https://stephaneeysk​​ens. wordpress.com/2017/01/07/transparent-bot-authentication-with-microsoft-teams/