bcicen / slackcat

CLI utility to post files and command output to slack
http://slackcat.chat
MIT License
1.22k stars 57 forks source link

OAuth doesn't work as expected #93

Open chabou opened 1 year ago

chabou commented 1 year ago

Hello, this project looks awesome.

I am trying to configure it but authentification fails. Token is undefined. (I retried a lot)

image

Is it normal to have a HTTP and not HTTPS callback? Is this project discontinued?

Thank you for your help

rayjanoka commented 1 year ago

it looks like the scopes changed and need to be updated to this, but the http://slackcat.chat site sets this so I don't think we can fix this part ourselves..

channels:read+groups:read+im:read+mpim:read+users:read+chat:write+files:write+chat:write

You can just create your own slack app with these scopes and use that app's oauth token in your ~/.slackcat.

["chat:write", "im:read", "mpim:read", "channels:read", "groups:read", "files:write", "users:read"]