Skip to content
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

"client" permission required #83

Closed
CBenni opened this issue Mar 3, 2017 · 6 comments
Closed

"client" permission required #83

CBenni opened this issue Mar 3, 2017 · 6 comments

Comments

@CBenni
Copy link

CBenni commented Mar 3, 2017

So I tried to set this up, but when attempting the curl request, I got the following response:

{ "ok": false, "error": "missing_scope", "needed": "client", "provided": "admin,identify,users.profile:write" }

Apparently slack now requires client permissions? I replaced the token with the token I grabbed by opening the slack app devtools, and it worked fine.

Probably not much you can do about this, but I wanted to give a heads up and ask if maybe you know a nicer way to handle this.

@arahansa
Copy link

arahansa commented Mar 8, 2017

Hi I think.. When you install Slack app.. You need add client permission manually..

for example.. in your slack app page, Settings - Install app menu..
you can see this Install App button.. copy the link of that button and
2017-03-08 11 32 52

you can see that link like this..

https://slack.com/oauth/authorize?&client_id=(your client id)&team=(teamId)&install_redirect=install-on-team&scope=admin

you need to make that scope like this

 &scope=admin+client 

and type in your browser to move that link..
for me, it works

@CBenni
Copy link
Author

CBenni commented Mar 8, 2017

Ah, interesting, ill try that out; Didnt really expect that to work. Thanks!

@ghost
Copy link

ghost commented May 3, 2017

Thank you! Plus one for the solution.

@dankeller
Copy link

Worked! May need to update the readme.

@outsideris
Copy link
Owner

I updated README. Please check https://github.com/outsideris/slack-invite-automation#issue-token .

@bipin-rudder
Copy link

The issue seems to be still present. Above approaches are failing to work : #146 (comment).
Any one able to get past through this?

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

No branches or pull requests

5 participants