Setup:
Authentication Error:
Followed steps as https://catalog.dataminer.services/result/driver/5770 still facing authentication issue.
All right, here it goes for the correct solution.
The problem is that the driver was written some time ago and is depending on some legacy Slack APIs. I did some digging and found that there are two types of Slack Apps. The old ones (the one that we need for the driver) and the new ones (the one you and I created initially but clearly do not work).
So, how do we fix it?
On this page about "Legacy Tokens" you can find an URL to "Create a classic Slack app". This is the gold we were digging for. If you click on the URL you will be greeted by a form that will clearly indicate you are creating a classic slack app.
From here on out you can follow the steps listed in the documentation.
- Add legacy bot user (in the App Home menu)
- Go to the OAuth & Permissions tab and install the bot in your Workspace
- Now copy the Bot User OAuth Token and paste it into the authentication field of your element.
- Happy Slack-ing!!
If you want to make sure that the authentication succeeded you can right-click on your element in the surveyor click View and then Stream viewer. This will show all the requests that your element is executing towards the Slack API.