slack-rs-api icon indicating copy to clipboard operation
slack-rs-api copied to clipboard

Legacy tester tokens may no longer be created

Open bar9 opened this issue 4 years ago • 1 comments

In the examples you're referring to legacy tokens, however these cannot be created anymore. I there an alternative?

bar9 avatar Jan 07 '21 05:01 bar9

@bar9 at the bottom of the page here: https://api.slack.com/rtm#classic -- you can create a "classic" slack app, which will allow you to create a bot user which will contain a token that can be used to auth with the slack API (without going through an oauth flow, if the app is manually installed to your slack workspace).

Though, you may still run into issues with this, I created a workaround here: https://github.com/slack-rs/slack-rs-api/pull/105 -- but depending on how you're pulling in this library you may need to use the other forks I created to get this working:

  • https://github.com/silverjam/yobot
  • https://github.com/silverjam/slack-rs-api
  • https://github.com/silverjam/slack-rs

No idea if this workaround works for other parts of the Slack API.

silverjam avatar Mar 06 '21 07:03 silverjam