From 29c28eff4ba2d8b6206c7ec56f5971e3d28f4075 Mon Sep 17 00:00:00 2001 From: Joseph Kerkhof Date: Wed, 23 Nov 2016 14:29:43 -0600 Subject: [PATCH] Adding redirectUri parameter to start bot command This node server fails without the redirectUri parameter included in the command. --- examples/slackbutton_bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/slackbutton_bot.js b/examples/slackbutton_bot.js index 0f1794522..671ab23ab 100755 --- a/examples/slackbutton_bot.js +++ b/examples/slackbutton_bot.js @@ -13,7 +13,7 @@ This is a sample Slack Button application that adds a bot to one or many slack t -> https://api.slack.com/applications/new -> Add the Redirect URI: http://localhost:3000/oauth Run your bot from the command line: - clientId= clientSecret= port=3000 node slackbutton_bot.js + clientId= clientSecret= port=3000 redirectUri=http://localhost:3000/oauth node slackbutton_bot.js # USE THE APP Add the app to your Slack by visiting the login page: -> http://localhost:3000/login