Azure OAuthPrompt shows twice
Hello everyone, I am newbie and am learning about azure-bot-service, I have spent 3 days but still have not found a solution to this problem, please everyone help
I am following this example https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs/46.teams-auth…
but i do not call command
await this.dialog.run(context, this.dialogState);
on event onMessage
I am calling it from an API I have opened to receive requests from other services. The OmniAuth display as well, but it always shows 2 times(I can get the token). I guess the function handleTeamsSigninVerifyState has a problem.
This is my source code
if I call from onMessage, everything is ok.
Could someone give me any advice?
Thank you so much!