Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 656 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 656 Bytes

multi-oauth

OAuth sample app.

How to run

  • clone this repo.
  • $ bundle install
  • create config/application.yml (see below)
  • $ rails server
  • open http://localhost:3000

application.yml

Get consumer keys and secrets.

development:
  HATENA_CONSUMER_KEY: YOUR_HATENA_KEY
  HATENA_CONSUMER_SECRET: YOUR_HATENA_SECRET
  TWITTER_CONSUMER_KEY: YOUR_TWITTER_KEY
  TWITTER_CONSUMER_SECRET: YOUR_TWITTER_SECRET
  GITHUB_CONSUMER_KEY: YOUR_GITHUB_KEY
  GITHUB_CONSUMER_SECRET: YOUR_GITHUB_SECRET