Rack Middleware for OAuth2 server. Experimental OAuth2 client library is also included.
This gem is based on OAuth 2.0 draft v.13 tools.ietf.org/html/draft-ietf-oauth-v2-13
gem install rack-oauth2
View RDoc on RDoc.info (rdoc.info/github/nov/rack-oauth2)
View Source on GitHub (github.com/nov/rack-oauth2)
Report Issues on GitHub (github.com/nov/rack-oauth2/issues)
Facebook Page (www.facebook.com/pages/RackOAuth2/141477809244105)
Sample Server Application (Rails3)
Running on Heroku rack-oauth2-sample.heroku.com
Source on GitHub github.com/nov/rack-oauth2-sample
Authorization Request (request_type: 'code' and 'token') gist.github.com/862393
Token Request (grant_type: 'client_credentials', 'password' and 'authorization_code') gist.github.com/883541
Resource Request (request both for resource owner resource and for client resource) gist.github.com/883575
Note on Patches/Pull Requests
Fork the project.
Make your feature addition or bug fix.
Add tests for it. This is important so I don't break it in a future version unintentionally.
Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
Send me a pull request. Bonus points for topic branches.
Copyright © 2010 nov matake. See LICENSE for details.