Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Adding redirectUri parameter to start bot command #510

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/slackbutton_bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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=<my client id> clientSecret=<my client secret> port=3000 node slackbutton_bot.js
clientId=<my client id> clientSecret=<my client secret> 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
Expand Down