Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

About

Example of rails3 app with devise and oauth2 providerable (oauth2 provider) and sinatra app for oauth2 client

Resources

Stars

34 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

devise-oauth2-provider-client

Current OAuth2 Specification Draft: http://tools.ietf.org/html/draft-ietf-oauth-v2-15

Install provider (rails app)

bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
# seeds.rb
Client.create(
  :name => "Sinatra Client",
  :redirect_uri => "http://localhost:9393/oauth/callback",
  :website => "http://localhost:9393/",
  :identifier => "120094574673767",
  :secret => "b54dc82476af2814e620b86776c42c0e"
)
User.create(
  :email => "alex@fuckingawesome.com",
  :password => "dragons",
  :name => "Alex"
)
rails s

Install client (sinatra app)

bundle install
bundle exec shotgun

About

Example of rails3 app with devise and oauth2 providerable (oauth2 provider) and sinatra app for oauth2 client

Resources

Stars

34 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages