git clone [email protected]: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