How to disable magic number using OAuthPrompt in bot framework V4

筅森魡賤 提交于 2021-01-29 05:40:22

问题


I had implemented authentication to my bot application by referring here. I had successfully implemented and able to sign in but application is authenticating user using magic number. Is not there any way to disable magic number?

Note: I had created bot application using Bot Framework V4


回答1:


There have been improvements to the channels to support new authentication features, such as new WebChat and DirectLineJS libraries to eliminate the need for the 6-digit magic code verification. You can follow these links to prevent the magic code from showing up:

  • https://github.com/Microsoft/BotBuilder/issues/4632#issuecomment-441957719( refer to @compulim's comment here, who is the developer of Web Chat and has specified the steps to eliminate the magic code flow).
  • https://github.com/Microsoft/BotFramework-WebChat/pull/1218( pull request for the token server sample).


来源:https://stackoverflow.com/questions/55917494/how-to-disable-magic-number-using-oauthprompt-in-bot-framework-v4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!