[DLS] OAuth card SignIn button doesn't work
See original GitHub issuecurrently when a bot enables speech channel, the OAuthCard that renders comes with a SignInLink that’s retrieved on the bot side. When clicking on SignIn button it only opens up a blank page. I checked the network trace and the SignInLink is returned so WebChat should open the SignIn page.
Screenshots
Version
To determine what version of Web Chat you are running, open your browser’s development tools, and paste the following line of code into the console.
[].map.call(document.head.querySelectorAll('meta[name^="botframework-"]'), function (meta) { return meta.outerHTML; }).join('\n')
If you are using Web Chat outside of a browser, please specify your hosting environment. For example, React Native on iOS, Cordova on Android, SharePoint, PowerApps, etc.
Describe the bug
Steps to reproduce
- Setup a bot with DLS enabled. Create a dialog in it that uses an OAuthPrompt
- Talk to the bot using webchat for DLS. make sure the OAuthCard shows up.
- Click on the SignIn button
Expected behavior
the browser opens up a new tab which allows user to sign in
Actual behavior
the browser opens up a new tab with blank page.
Additional context
[Bug]
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Done. @corinagum feel free to ping me for a repro.
Temporarily assigning to myself…