FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed incorrect cast error. by LeeParrishMSFT · Pull Request #1290 · microsoft/botbuilder-java · GitHub

This repository was archived by the owner on Dec 4, 2023. It is now read-only.
/ botbuilder-java Public archive

Fixed incorrect cast error. - #1290

Merged
Lee Parrish (LeeParrishMSFT) merged 1 commit into
mainfrom
lparrish/Issue1286
Jul 8, 2021
Merged

Fixed incorrect cast error.#1290
Lee Parrish (LeeParrishMSFT) merged 1 commit into
mainfrom
lparrish/Issue1286

Conversation

Copy link
Copy Markdown
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.

Lee Parrish (LeeParrishMSFT) deleted the lparrish/Issue1286 branch July 8, 2021 21:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

2 participants


Back | FazBrowse Home | New Git URL