Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Rack::OAuth2 Sample Server (Bearer)
Ruby JavaScript
Latest commit cc6919f @nov b up
Failed to load latest commit information.
app one more fix and update rails version
config config/application.rb was missing during dropbox problem
db one more fix and update rails version
doc first commit
lib more 0.6.0 changes
public b up
script first commit
test refresh token support
vendor/plugins first commit
.gitignore add Gemfile.lock
Gemfile b up
Gemfile.lock b up
README.textile readme up
Rakefile first commit fake commit


Sample OAuth2 Server Application using Rack::OAuth2 in Rails3

Setup & Run

git clone
cd rack-oauth2-sample
bundle install
rake db:migrate
rails server

Then go to http://localhost:3000

Client Sample Code

Read “Common between Bearer and MAC” and “Bearer” samples in “Sample Client” section here.

Something went wrong with that request. Please try again.