microsoft / BotBuilder-Samples

Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript/TypeScript, and Python to help you get started with the Bot Framework SDK!
https://github.com/Microsoft/botframework
MIT License
4.36k stars 4.87k forks source link

Error message showed in sign in oauth card #3976

Closed Aiswarya1794 closed 3 months ago

Aiswarya1794 commented 4 months ago

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

Amrit10737726 commented 3 months ago

@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

Amrit10737726 commented 3 months ago

@Aiswarya1794 Could you provide more details? Are you still experiencing the same issue? If so, which sample is causing the problem?