microsoft / botbuilder-dotnet

Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
https://github.com/Microsoft/botframework
MIT License
878 stars 484 forks source link

Wrong results when using OAuthPrompt from group or channel #6765

Closed atmoraes1 closed 3 weeks ago

atmoraes1 commented 8 months ago

When using OAuth2 via OAuthPrompt the user authentication flow does not work as expected. It seems some states are being shared between the turns that prevent the authentication to complete.

As race conditions might happen the scenarios may vary. The bot was built based on the sample.

Is that a bug or the OAuthPrompt is expected to only work with private chats? If that's the case how should one proceed to authenticate a conversation started from within a group or channel (Microsoft Teams).

dmvtech commented 1 month ago

Are you still experiencing this problem?