MicrosoftDX / AuthBot

General authentication/authorization Bot Framework sample
MIT License
82 stars 54 forks source link

Token / Secret doesn't get passed through in Edge or IE #16

Closed pvanaarde closed 7 years ago

pvanaarde commented 7 years ago

Hi,

We have implemented AuthBot in our bot. The problem we experience now is that we get a HTTP502 error when talking to the bot in WebChat, but only in Edge and IE. In Chrome, the authentication occurs as expected and the results are returned successfully. The full error is as follows:

HTTP502: BAD GATEWAY - The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. (XHR)POST - https://webchat.botframework.com/v3/directline/conversations/XXXXXXXXXXXXX/activities

When clicking the URL provided in the error message, the following is displayed: { "error": { "code": "BadArgument", "message": "Missing token or secret" } }

As mentioned, we only see this when using Edge or IE, but it works fine as expected when using Chrome.

Any help would be greatly appreciated.

Thanks, Pieter

pvanaarde commented 7 years ago

When trying to further debug this issue, we are now unable to reproduce it. Closing it accordingly.