简体   繁体   中英

Token response is returned when using Trusted Origin in Direct Line OAuth

I have added trusted origins in direct line with help of Microsoft document.

https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-directline?view=azure-bot-service-4.0#configure-enhanced-authentication

We have provided the url of web app in which the application is hosted and its working fine in Chrome browser. But we are still getting the verification code in Safari, Firefox and sometimes in Chrome incognito when we have more than one account suggestions to sign in.

How to fix this issue.

The configuration the site options have the option to configure the sites with 3.0 version which is the Direct Line protocol and must be enabled for entire application. Then it will get access to all the browsers without any issue. In enhanced authentication options, we need to enable the toggle and add the trusted origin of the websites that need to get access of additional protection without any explicit login.

在此处输入图像描述

Whenever we are providing the information regarding authentication of the bot, we need to provide the key token in the header initially. The format of the header will be like Authorization: Bearer SECRET_OR_TOKEN. Checkout the additional procedure which is optional in this case and might be useful in future from Generate a Direct Line Token

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM