You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slack don't yet officially support programmatic team invites; instead, our code uses the same web service that is called when a team administrator requests an invite for someone on the Slack admin page.
The API needs a token. Previously, a token obtained from the Slack API page worked. Now, it doesn't.
Workaround is to grab a working token by:
logging on as team administrator
go to the Slack admin page and request an invite for a dummy email address
use browser to "inspect element" and view the contents of the form data in the HTTP request
save a copy of the token that appears there
use this token when setting the environment variable SLACK_TOKEN
I've tested this on my local copy of hackwimbledon and my test Slack account.
Was working. Now getting "missing scope" error.
Slack don't yet officially support programmatic team invites; instead, our code uses the same web service that is called when a team administrator requests an invite for someone on the Slack admin page.
The API needs a token. Previously, a token obtained from the Slack API page worked. Now, it doesn't.
Workaround is to grab a working token by:
I've tested this on my local copy of hackwimbledon and my test Slack account.
More info here: outsideris/slack-invite-automation#8 (that repo is the basis of the code we are using)
The text was updated successfully, but these errors were encountered: