close
The Wayback Machine - https://web.archive.org/web/20201206223048/https://github.com/slackapi/oauth-tutorial
Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ARCHIVED

This piece of sample code has been archived. For more up to date samples, check out some of the other repositories on https://github.com/slackapi

Slack OAuth Demo with a Simple Bot

install

A simple Slack app (slash command) demo that repeats what you say after a command, /echo.

Sure, this sounds like a useless demo, but the poupose of this example is to show how to implement an OAuth flow to distrubite your app with these steps:

  1. Add an Slack OAuth button on your website
  2. GET to authorize with correct scopes queries
  3. Obtain an Access Token
  4. Use the token to call Slack APIs

Try this OAuth demo on Glitch!


Cool. First, fork this repo, (or Remix on Glitch if you want to try it on Glitch) to your own repo and get started!

1. Developing a Bot

See the step-by-step instructions at:

Setting up & Develop in your Dev Workspace - How to configure the EchoBot and install it on your testing Slack workspace

2. Distribute with OAuth

See the step-by-step instructions at:

Distibute Your App: How to work with an OAuth Button - How to make the app installable to any Slack workspaces with an OAuth button

About

Slack OAuth setup tutorial using a simple slash command bot

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.