BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

OAuthCards not working with Web Chat channel

Open gagankohli2000 opened this issue 7 years ago • 4 comments

I have configured web chat channel and added iframe code on our website. I noticed OAuthCards not working with Web Chat channel.

Also, can i utilize existing Virtual Assistant Service Application Default.htm page to initiate Web Chat with OAuthCards. Any example?

gagankohli2000 avatar Jun 03 '19 04:06 gagankohli2000

OAuthCards do render in WebChat however the Azure Bot Service portal webchat is an old version and doesn't support cards. If you hare hosting yourself then here are some instructions and you may need to select Preview version when configuring the channel.

image

darrenj avatar Jun 03 '19 10:06 darrenj

I'm using same. Please see the attached screenshot. Calendar

gagankohli2000 avatar Jun 04 '19 00:06 gagankohli2000

Transferring to webchat team for assistance

darrenj avatar Jun 04 '19 07:06 darrenj

As @darrenj mentioned, the iFrame currently uses Web Chat v3 which does not support OAuth Cards. However, the development team is beginning the process of switching clients using embedded Web Chat from v3 to v4, so this issue should resolve itself with time. Please take a look at the documentation for more details regarding embedded Web Chat.

If you need an immediate fix, I would recommend switching to Web Chat v4. Feel free to peruse our samples, which provide a lot of ideas and foundation for getting started and customizing your version of Web Chat v4.

tdurnford avatar Jun 05 '19 15:06 tdurnford