Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"InputDialog is missing Prompt" appears when inserting the code from OAuth authentication #9624

Closed
2 of 9 tasks
cpendery opened this issue Aug 9, 2023 · 3 comments
Closed
2 of 9 tasks
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. Type: Bug Something isn't working

Comments

@cpendery
Copy link
Member

cpendery commented Aug 9, 2023

Describe the bug

When trying to use the OAuth Card to a bot deployed in Azure, I'm getting the error InputDialog is missing Prompt.. Seems similar to #8258. The bot works fine when connecting via a deployed version of the BotFramework-WebChat. We are using the AAD v2 with Certificates (Preview) Service Provider for the OAuth

Version

Version: 2.1.2
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge
  • Bot Emulator

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

  1. Create a bot using the Blank bot template
  2. Add an OAuth Card that uses an AAD v2 with Certificates (Preview) Service Provider
  3. Deploy to Azure App Service
  4. Connect to the Bot via Bot Emulator
  5. Login to the bot & paste the code in the chat
  6. View the error message that occurs

Expected behavior

Login should actually work

Screenshots

Additional context

@cpendery cpendery added Needs-triage A new issue that require triage Type: Bug Something isn't working labels Aug 9, 2023
@InfinytRam InfinytRam self-assigned this Sep 4, 2023
@InfinytRam InfinytRam added customer-reported Required for internal Azure reporting. Do not delete. Bot Services Required for internal Azure reporting. Do not delete. Do not change color. and removed Needs-triage A new issue that require triage labels Sep 4, 2023
@InfinytRam
Copy link

Thanks for your patience @cpendery, we are investigating.

@InfinytRam
Copy link

Hi @cpendery, thank you for your patience.

  1. Is this issue channel specific? Example, does this issue only occur in Emulator?
  2. In Azure Bot portal, does the "Test Connection" work as expected?
    image

@cpendery
Copy link
Member Author

cpendery commented Oct 9, 2023

Hi @ramfattah the issue actually resolved for some reason. Just for future reference test connection did work as expected, but it wasn't channel specific.

@cpendery cpendery closed this as completed Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants