Azure OAuthPrompt shows twice

Nick Johnson 1 Reputation point

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…
but i do not call command

await, 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!

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
800 questions
{count} votes