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

slackbutton_bot.js does not include redirectUri in config #458

Closed
bambielli opened this issue Oct 24, 2016 · 1 comment · Fixed by #465
Closed

slackbutton_bot.js does not include redirectUri in config #458

bambielli opened this issue Oct 24, 2016 · 1 comment · Fixed by #465

Comments

@bambielli
Copy link

I'm using botkit v 0.4.0 from NPM.

https://github.com/howdyai/botkit/blob/master/examples/slackbutton_bot.js#L41

I just got a slackButton bot working from the slackbutton_bot.js starter code. When I was initially trying to get my bot to authenticate via the "login" url, I was getting an error "missing clientId in request". The issue seemed to resolve itself when I passed the redirectUri in as an environment variable.

I think this should be added to the slackbutton_bot.js at the line highlighted in the snippet above. I can submit a fix once someone verifies that this is an actual issue.

@jonchurch
Copy link
Contributor

Submitted PR #465

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants