Microsoft Bot Framework和Slack - 总是返回Forbidden

时间:2016-05-11 16:43:47

标签: botframework

我在Microsoft Bot Framework上创建并注册了一个Bot enter image description here

我通过说明在Slack上创建了一个应用程序 enter image description here enter image description here

机器人被添加到频道,但每次我尝试与它交谈时,我都会被禁止:

enter image description here

我认为这是一个oauth问题 - 但是我做错了什么?我确认已正确输入Slack给我的clientId和Client密码:

enter image description here

1 个答案:

答案 0 :(得分:3)

我找到了答案 在第一次将bot发布到Azure之后,您必须返回到Visual Studio并更新web.config文件中的appId和appSecret值,然后重新发布。