How to interrupt once OAuth2 dialog initiate in Bot Framework C#
I have two questions:
In Waterfall step, once I start the OAuth prompt with this code:
return await stepContext.BeginDialogAsync(nameof(OAuthPrompt), cancellationToken);
Then OAuth card appears after that if I type something in chat rather than button click nothing happens.
I want to return this text "Please login first" to the user, and I want to re-prompt with the OAuth card.
I want to display two buttons in OAuth card and on second button click want to start a new dialog
Hi, thanks for reaching out. I found this document that illustrates how to handle user interruptions. Let us know if it helps. Thanks.
Sign in to comment