Skip to content

flowdock/flowdock-oauth-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flowdock OAuth Client Demo

This repo contains a demo application that uses Flowdock API via OAuth 2.0. The client-side part utilises Flowdock Sreaming API.

The app fetches latest chat messages for the selected flow in Flowdock and streams new messages. Messages can also be sent to the flow.

App.rb contains Sinatra app that is the redirect URL endpoint for OAuth.

Index.html is a JavaScript client that interacts with Flowdock API using CORS.

Setup

  • configure OAuth credentials and cookie secret as environment variables (or .env). See sample.env.
  • bundle install
  • foreman start

The Ruby application is used to sever the client-side JS and as redirect endpoint for OAuth.

Flowdock OAuth credentials can be created at https://www.flowdock.com/oauth/applications.

About

Flowdock OAuth demo application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published