Coder Social home page Coder Social logo

oauth-tutorial's Introduction

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

oauth-tutorial's People

Contributors

colmdoyle avatar girliemac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.