microsoft/BotBuilder-Samples

Error message showed in sign in oauth card

Opened this issue · 1 comments

Hi team,

We are using

return await stepContext.BeginDialogAsync(nameof(OAuthPrompt), null, cancellationToken); method to use sign in feature for user authentication.

In Waterfall dialog, we start the oauth prompt, in next step validating the token response and send the success message and call the next async method to go to the next dialog to fetch the details. But by the time it fetches the data, error message shows up in the sign in card.

How we can resolve the error message which we get in adaptive card because of the bot delay in fetching the data.

image

@Aiswarya1794 could you provide more details. Still Are you getting the same issue? in which sample you are getting the issue.
Created SignInCard Under resources in AdaptiveCardBot to check the issue. Could you please provide more details?
SignInAdpter
SignInJson