git clone git@github.com:nov/rack-oauth2-sample.git cd rack-oauth2-sample bundle install rake db:migrate rails server
Then go to http://localhost:3000
Read “Common between Bearer and MAC” and “Bearer” samples in “Sample Client” section here.
https://github.com/nov/rack-oauth2