问题
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