-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single-channel config resulting in "Not a permitted channel" #77
Comments
Updated to the latest commit on master today and this is still an issue :-/ |
I bothered people at Slack about this issue and they said:
Did they silently change the API that slackin was using and that's why it doesn't work anymore? |
From the readme:
|
Thanks Matt, I verified that is not the case. I am far under the limit for single-channel guests and I can invite them through the web panel. |
Hi, I have the same issue. If I specify multiple channels (resulting in a dropdown menu in the frontend) it works just fine, but with only one channel it fails. As a workaround I just specified "channelname," which leads to an empty option in the dropdown. It seems to work then. |
I also had this problem - @lutoma's solution is working for now. Would be great to get rid of the empty dropdown option though. |
Same issue here with a single channel. Running |
This looks to me like this bug was introduced by this commit: e35a05b. The form handler still expects |
@carmstrong Yay, #152 has been merged! |
🍻 And 0.8.3! We can stop using our fork now! :) |
I'm still seeing this on the Heroku app. Was #152 set to resolve it there also? |
Are you launching 0.8.3? The badge in the README is still using 0.8.2. Use this link: |
@txsteven @carmstrong fixed the Badge. Let me know if it works! |
I'm running on Heroku and starting slackin like so where $SLACK_CHANNELS is "opensource".
make && bin/slackin --channels "$SLACK_CHANNELS" --port $PORT $SLACK_SUBDOMAIN $SLACK_API_TOKEN
After I start the webapp and attempt to put in any email address, the application errors out and says "Not a permitted channel." I have verified that the Slack API token I gave it comes from an admin. When visiting the index, the correct information is displayed in the browser: "Join My Org #opensource on Slack."
Relevant code appears to be from here:
https://github.com/rauchg/slackin/blob/master/lib/index.js#L33-L40
https://github.com/rauchg/slackin/blob/master/lib/index.js#L82-L98
I'm not certain why this is failing. If this isn't an obvious bug, can you provide some advice for debugging it on my end? Thanks!
The text was updated successfully, but these errors were encountered: