The Ruby OpenID library, with batteries included.
A Ruby library for verifying and serving OpenID identities. Ruby OpenID makes it easy to add OpenID authentication to your web applications.
This library is a port of the Python OpenID library, and features:
- API for verifying OpenID identities (OpenID::Consumer)
- API for serving OpenID identities (OpenID::Server)
- Consumer and server support for extensions, including simple registration
- Yadis 1.0 and OpenID 1.0 service discovery, including server fallback
- Does not depend on underlying web framework
- Multiple storage implementations (Filesystem, SQL)
- Comprehensive test suite
- Example code to help you get started, including:
- WEBrick based consumer
- Ruby on rails based server
- OpenIDLoginGenerator for quickly creating a rails app that uses OpenID for authentication
- ActiveRecord adapter for using an SQL store in rails
Note: Version 1.x.x releases require the Ruby Yadis Library.
Note: Version 1.9.x releases are release candidates of an OpenID 1/2 implementation. 1.9.x version numbers are used since rubygems doesn't permit the use of 2.0.0rcX versions. 1.9.x is not backwards-compatible with older releases.
| Series | Date | Version | Download | Documentation |
|---|---|---|---|---|
| 1.x.x | 2007-08-30 | 1.1.4 (Changes) |
HTML | |
| 2.x.x | 2008-02-13 | 2.0.4 (Changes) |
HTML |
| Series | Download |
|---|---|
| 1.x.x | |
| 2.x.x |
View all releases View all packages
darcs get http://openidenabled.com/files/ruby-openid/repos/1.x.x/
darcs get http://openidenabled.com/files/ruby-openid/repos/2.x.x/
For information on upgrading from the 1.x.x library to 2.x.x., see the UPGRADE document.
The following resources are auto-generated with every set of patches pushed to the Ruby OpenID 2.x.x branch:
We host a buildbot for running the Ruby library's unit tests at http://openidenabled.com:8012/.
The following live demos are available and stay up to date with the source code repositories: