https://linen.dev logo
o
I'm trying to setup oauth for slack with the following scopes: channels:history channels:read chat:write commands groups:history im:history im:read im:write These are the same ones I've setup in my Slack app on api.slack.com However, I'm getting the error - Invalid permissions requested invalid_scope I was able to use these scopes and connect slack using slack_bolt. Any idea what the issue is here? I feel like I'm missing something obvious Another follow up question - my app would need to send messages as a bot, and I don't want to go through oauth for every user. I'd like it installed once into a workspace. How do I do this with composio?
I checked all the scopes on slack's docs, they all exist. Why could I still be getting the invalid scopes error when I try and go through oauth?
c
Hi Orgrim, Could you share your Auth ConfigId? It'll help us in debugging. Thanks!
o
@udaysidagana ac_AKGMj-DezEkg
c
Thanks for the information, Could you share the screenshot of the consent screen?
o
There is no consent screen - when I go to the redirect url it shows me the screenshot I posted above. Will post the entire thing soon
c
Just to confirm, could you share the configuration on Slack App?
c
I've checked it on my end and the Issue seems to be with
commands
scope. You can use it in SlackBot Toolkit.
o
Can the other scopes I have be used in the slack bot toolkit too?
c
I'm assuming you are asking if you can use the other scopes in your Auth Config to initiate a connection on SLACK Toolkit. Yes, you can use the remaining scopes. Let me know if this helps.
o
Helps, thanks a lot!
Can I use the other scopes for the Slackbot toolkit?
I want one toolkit with all the scopes listed here
c
Yes, you can use these scopes for SlackBot. Let me know if you run into any Issue. I’d be happy to help.