Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

slackapi/oauth-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages