-
Notifications
You must be signed in to change notification settings - Fork 886
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
Invitation fails with Failed! missing_scope #8
Comments
I'm not quite sure but it probably has something to do with Slack API itself. |
… my email so that people can still drop me email to get access. We are using a secret api as documented on https://levels.io/slack-typeform-auto-invite-sign-ups/, however there are problems like this outsideris/slack-invite-automation#8.
Unfortunately, it's official now. 😞 Slack says it's an undocumented method so not supported. They're working on an alternative to the method but has no firm timeline for its release. sigh... 😞 I'm not sure what else can be done at this point. :( |
I hit the same problem - the code used to work but, when I saw this issue, I checked and found the same problem. Seems as if the tokens issued at https://api.slack.com/web#auth don't have the required "admin" in their scope list. There is a work around, but I'm not sure if it abides by Slack's terms of service. With a browser, log into Slack and go through the workflow to send an invite to someone. Use the browser's "inspect element" to look at the request when you hit the invite button. If you look in the "form data", you should see a token. For me, this token works with the slack-invite-automation code. |
@hackscribble Yes, you are right. I fix it in local. I will update it soon. |
I can confirm that it's fixed. It works well with the admin key not the owner one. |
How do we get the admin key instead of the owner one? Is there a URL to visit? Thanks for fixing this BTW 😀 |
@ivanoats In |
I just saw this issue again with an admin token... has this resurfaced for anyone else? Edit: I had to ask for both |
I tested the invitation feature with a few different email addresses but none has succeeded.
I get
Failed! missing_scope
when using this app and the following result if I usecurl
command provided in theREADME.md
.I've already checked https://api.slack.com/tokens page and it says that the token has
admin
scope.The text was updated successfully, but these errors were encountered: