How to interrupt once OAuth2 dialog initiate in Bot Framework C#
Satyam Tiwari
1
Reputation point
0
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
Sign in to answer