Kevin Andersen
Kevin Andersen

Reputation: 25

HTTP with basic auth Microsoft Bot Framework

I was trying to recreate the Microsoft BOT Stocks app that was featured on Build 2016, but are unable to successfully test the bot in the emulator.

The emulator gives me this error:

You are using HTTP with basic auth, which is not a secure way to pass credentials. If you want to use an unsecured HTTP endpoint then you should disable basic authentication.

But how do I do this? I would just like to test my app without HTTPS and that kind of stuff.

Upvotes: 1

Views: 392

Answers (1)

Anders Gill
Anders Gill

Reputation: 305

In order to test your bot without using HTTPS and just simple layer no security; you could simply go into your primary controller (like MessagesController.cs) and delete/comment out the line that says:

[BotAuthentication]

You will no longer require HTTPS.

Upvotes: 1

Related Questions