如何使用团队机器人通过我自己的自定义身份验证服务对用户进行身份验证? [英] How to authenticate a user using a teams bot using my own custom authentication service?

查看:81
本文介绍了如何使用团队机器人通过我自己的自定义身份验证服务对用户进行身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在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.

这篇关于如何使用团队机器人通过我自己的自定义身份验证服务对用户进行身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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