CODE: https://github.com/horeaporutiu/oauth...
NOTE: The Admin API part of this app is ONLY available for those on an enterprise plan. If you don't have that plan, you can skip ahead to the next video. The custom routes can be used by any Slack plan.
Git Clone (Just the Oauth-Redirect branch): git clone --branch part2-admin-scopes https://github.com/horeaporutiu/oauth...
In this video, I show developers how to use the Slack Bolt JS framework (https://slack.dev/bolt-js/concepts#cu...) to create custom routes.
Custom routes can be used, for example, if you want to have two separate app installs. The first install would be the standard install (for free tier / Pro tier Slack users).
The second, and more powerful install would be to have an org admin install. This would add admin scopes to the token, which will enable a developer to take more powerful action over a Slack Organization, such as deleting channels.
The API tester used in the video can be found here: https://api.slack.com/methods/admin.c...