问题描述
botbuilder/bot框架的v3.0.0版本中存在一个问题,其中身份验证不适用于本地模拟器(请参见 https://github.com/Microsoft/BotBuilder/issues/625 ).官方的解决方法是从机器人本身和模拟器中清除appId和appPassword,从而完全绕过身份验证.
There is an issue in v3.0.0 of the botbuilder / bot framework where authentication does not work with the local emulator (see https://github.com/Microsoft/BotBuilder/issues/625). The official workaround is to clear the appId and appPassword from the bot itself and from the emulator, thus bypassing authentication altogether.
在Windows GUI版本的仿真器中这很容易,但是在控制台版本中则不起作用./settings允许您更改appId和appPassword,但是在没有任何输入的情况下按下将保留当前值.因此,您不能将它们设置为空.
This is easy in the Windows GUI version of the emulator, but in the console version this does not work. /settings allows you to change appId and appPassword, however pressing without any input will leave the current values. Hence you can't set them to nothing.
我尝试添加一个空白的命令,例如/reset,但没有任何效果.删除/重新安装控制台仿真器确实保留了这些值,因此在我看来它们似乎已缓存在某个地方.
I tried adding a blank, commands like /reset, but nothing worked. Deleting / reinstalling the console emulator did keep the values, so they seem to me cached somewhere.
是否可以清除设置缓存/重置控制台模拟器的凭据?
使用:Mono,Microsoft Bot Framework Channel Emulator v3的控制台版本,Mac OS
Using: Mono, Console version of Microsoft Bot Framework Channel Emulator v3, Mac OS
推荐答案
我刚刚创建了一个新版本(v3.0.6037.27277)来解决此问题(您可以键入"disable"以禁用AppId/AppPassword.)它已经发布.
I have just created a new version (v3.0.6037.27277) which fixes this (you can type 'disable' to disable AppId/AppPassword.)It has been published.
谢谢-汤姆
这篇关于如何在Bot Framework Channel Emulator v3的控制台版本中重置凭据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!