Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Conversation

@LeeParrishMSFT
Copy link
Contributor

Fixes #1286

Description

Sample 18.bot-authentication was failing when using the bot framework emulator due to a cast that was being made in the OAuthPrompt that wasn't correct. This caused an exception to occur that stopped the dialog result from being properly handled so the user was logged in, but the subsequent action in the waterfall dialog was not executed as expected in the sample.

Specific Changes

Corrected the cast to corrected deserialize the incoming data by using the Serialization library.

Testing

Tested the sample code using this change both locally and as deployed in Azure with both the bot framework emulator and web chat to make sure the results were consistent.

@LeeParrishMSFT LeeParrishMSFT merged commit aef6968 into main Jul 8, 2021
@LeeParrishMSFT LeeParrishMSFT deleted the lparrish/Issue1286 branch July 8, 2021 21:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authentication sample in emulator is failing

3 participants