question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[DLS] OAuth card SignIn button doesn't work

See original GitHub issue

currently 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

  1. Setup a bot with DLS enabled. Create a dialog in it that uses an OAuthPrompt
  2. Talk to the bot using webchat for DLS. make sure the OAuthCard shows up.
  3. 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lzc850612commented, Dec 16, 2019

@lzc850612 Could you finish up the repro steps? @corinagum may help you with this bug and she need more information.

Done. @corinagum feel free to ping me for a repro.

0reactions
stevengumcommented, Sep 10, 2020

Temporarily assigning to myself…

Read more comments on GitHub >

github_iconTop Results From Across the Web

OAuth sign In button not working on Teams - Stack Overflow
The OAuth card renders and works properly on the emulator, but when I publish it to the teams the OAuth card renders but...
Read more >
Azure AD Access Tokens: Exploring Their Contents
Azure AD Access tokens are an important part of accessing data using modern authentication through APIs like the Microsoft Graph.
Read more >
Animate transitions between destinations - Android Developers
When a view is shared between two destinations, you can use a shared element transition to define how the view transitions when navigating...
Read more >
Outlook for Mac - Release notes for Beta Channel builds
Beta builds for Office for Mac are updated on a regular basis to provide new or improved features, security updates and bug fixes....
Read more >
CarPlay App Programming Guide | Apple Developer
such as a required log in, you can let users know about the condition ... that don't support the CarPlay framework will still...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found