oauth2-ruby is a Ruby library that makes it easy for developers to use OAuth2 protocol, currently in use in sites such as Facebook, Twitter and Launchpad (37 Signals).

Disclaimer: As this is alpha software, it is suspected to change and considered unstable.

OAuth 2 protocol compliance

The current implementation of the gem is based on OAuth2 draft 00 (more about it here and here). Our goal is to support Draft 09 by the time gem hits version 1.0.


Currently the project consists of three seperate packages: oauth2-core, oauth2-server and oauth2-client - the latter will be available soon.



Getting started

The wiki features some examples.

How to contribute

If you wish to helps us make OAuth 2 an easy ride with Ruby, please take note of the following:


This Ruby GEM is made available to you under the MIT license.