Jamie Dixon
Jamie Dixon

Reputation: 4282

Microsoft Bot Framework and Slack - always returning Forbidden

I created and registered a Bot on the Microsoft Bot Framework enter image description here

I created an app on Slack via the instructions enter image description here enter image description here

The bot gets added to the channel, but every time I attempt to talk to it, I get a forbidden:

enter image description here

I assume it is an oauth problem - but what I am I doing wrong? I confirmed that the clientId and Client secret given to me from Slack are entered correctly:

enter image description here

Upvotes: 1

Views: 334

Answers (1)

Jamie Dixon
Jamie Dixon

Reputation: 4282

I found the answer After you publish the bot to Azure the 1st time, you have to go back into Visual Studio and update the appId and appSecret values in the web.config file and then republish.

Upvotes: 3

Related Questions