我在 azure 上部署了 nodejs bot,我想使用 azure active directory 对所有用户进行身份验证
I have nodejs bot deployed it on azure and I want to authenticate all the user with azure active directory
https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-lob-application-azure-ad/#configure-authentication-and-directory-access
我已经通过本文档完成了 azure 方面的配置,但是我应该将哪一部分添加到我的机器人并从中获取访问令牌
https://microsoftluisbot.azurewebsites.net/.auth/me
取决于你的时间安排以及你是否想自己做;你得看看 passport.js, specifically to the Azure Ad strategy.
如果你不着急,那么你可能想等到 AuthBot is ready. Based on this post 的 node.js 版本,看来 Mat 已经在努力了。
11 月 28 日更新
找到 Node.js 的 AuthBot 初步版本
https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-lob-application-azure-ad/#configure-authentication-and-directory-access 我已经通过本文档完成了 azure 方面的配置,但是我应该将哪一部分添加到我的机器人并从中获取访问令牌 https://microsoftluisbot.azurewebsites.net/.auth/me
取决于你的时间安排以及你是否想自己做;你得看看 passport.js, specifically to the Azure Ad strategy.
如果你不着急,那么你可能想等到 AuthBot is ready. Based on this post 的 node.js 版本,看来 Mat 已经在努力了。