如何使用团队机器人通过我自己的自定义身份验证服务对用户进行身份验证?

问题描述:

我已经在azure上创建了一个漫游器,并在漫游器注册频道中对其进行了注册.现在,我想使用我自己的自定义身份验证服务(如https://domainname/auth)托管使用机器人对用户进行身份验证.我不知道该怎么做.我已经阅读了关于bot框架文档的oauth,但没有找到任何教程来集成我自己的身份验证服务

I have created a bot on azure and registered it in bot registration channel. Now I want to authenticate the user using the bot using my own custom authentication service hosted like https://domainname/auth. I have no idea how to do it. I have read oauth on bot framework docs but did not find any tutorial to integrate my own authentication service

您可以导航至Bot Channel Registration->设置->Oauth连接设置->添加设置

You could navigate to your Bot Channel Registration -> Settings -> Oauth Connection Settings -> Add Setting

在新建连接设置"页面中,将服务提供商选择为通用Oauth2"后,可以填写您的身份验证提供商的详细信息.

In the New Connection Setting page, could fill in the details of your Auth provider after selecting the service provider as Generic Oauth2.

有关更多信息,您可以参考文档

For more information you could refer to the document here to learn about configuring and using the same.